New answers tagged

0

It will not work with console application. You have to use sitecore web service or APi. Or you can create custom APi which will run under same sitecore instance than this code will work. Thanks, Vikas Chauhan


3

Try this: 1-From BizFx: Disassociate this product/sellableItem from all parents (Take note of them before you disassociate). 2-Go to Sitecore Content Editor: Clear Commerce Cache. 3-Verify that at this step the item no longer exist in the content-tree. 4-Go back to Bizfx and re-associate the product to its parents. 5-Clear Commerce Cache. 6-Verify that item ...


0

I am posting answer hoping it may help someone in future. So when I deployed LinkManager.ascx to the local site in this folder \sitecore\shell\Controls\Rich Text Editor\Dialogs, I still hadn't pointed to this LinkManager to be used, thus sitecore was still using Telerik.Web.UI's Telerik.Web.UI.Editor.DialogControls.LinkManager.ascx (found in Telerik.Web.UI>...


0

surendras, As per my understanding find below some inputs: Brand Template -Title -Description Industries Template -Title -Description Techniques Template -Title -Description FAQ Template -Title -Description -Title -Tags (Which will show tags from Brands/Industries/Techniques) -IsFeatured -SortOrder -IsActive When Brands/...


2

Maybe I missed some of your requirements but for me it looks like: - Brands --- Brand A --- Brand B --- Brand C - Industries --- Industry A --- Industry B --- Industry C - Techniques --- Technique A --- Technique B --- Technique C Every product have multilist fields for brands, industries and techniques. - Product A (Brand B, Brand C) - Product B (Brand ...


0

Done. There was a mismatch between xDb cores name and Sitecore core. And use Kudo console to run any command in Web app.


0

public static string ImageUrl(this Item item, ID imageFieldId, MediaUrlOptions options = null) { if (item == null) { throw new ArgumentNullException(nameof(item)); } var imageField = (ImageField)item.Fields[imageFieldId]; return imageField?.MediaItem == null ? string.Empty : imageField.ImageUrl(options)...


4

You cannot just assign image field value as a background image. You have to first get the src of the image like: @{ ImageField imageField = item.Fields["KfcStartContent_Img3"]; string url = Sitecore.Resources.Media.MediaManager.GetMediaUrl(imageField.MediaItem); } and then use it like: <div class="c-tile-red " style="background-image:url(@...


1

I have experienced this many times (specifically in my dev instance). List Manager in Sitecore 9 displays data from 'xDB' Solr index (with previous versions of Sitecore, it was separate list index). It won't show the Contact until it gets indexed even though the Contact has been added to xConnect Collection database. Hence you need to make sure that your ...


0

For SOLR search WDP will be a little bit different. "xcSearchMsDeployPackageUrl": { "value": "https://XXXXX.blob.core.windows.net/storage/WDP/XP/Sitecore 9.2.0 rev. 002893 (Cloud)_xp1collectionsearchSOLR.scwdp.zip" } That's all.


2

There is no configuration to enable/disable asset optimization on a theme/file level. SXA Theming and the Asset Optimizer considers the files uploaded under Scripts and Styles for optimization and to load on the website. You need to upload your file outside this location and refer accordingly.


0

Yes, you need to first install Sitecore and then configure Master/Slave. Here are the steps to follow - First, you need to install Sitecore with single Solr instance Then you need to create another instance of Solr by copying cores from the first instance because the schema is already populated in the first Solr instance. Configure Master & ...


2

As far as I’m aware the Solr Slave/Master approach is now deprecated and it is recommended that you use Solr Cloud instead. In Solr cloud you have 3 Solr servers all linked together in a Cloud with Zookeeper maintaining the connections between them. I've included quite a lot of information on how we set this up in this SSE post: Sitecore Content ...


1

[NOTE: Converting my comment to an answer as it seems no other individuals were able to go further on this] The error is indicating that your shard map manager is not yet configured. You should validate what the range definition looks like in the ShardMapManager database. Your shard map manager DB name looks something like 'Xdb.Collection.ShardMapManager'. ...


0

I was able to resolve the issue by following the article https://www.patrickob.com/2018/11/10/adding-ca-certs-to-the-trusted-root-store-for-web-apps-hosted-in-an-ase/ Basically I had to import the all the certificates in chain and add it to the trusted root. This was only required since we are internally signed certificate.


1

What you need to do is: Add reference to Sitecore.ContentSearch.Client in your code Create new class CustomIndexingManagerWizard inheriting from Sitecore.ContentSearch.Client.Forms.IndexingManagerWizard with code: namespace My.Assembly.Namespace { class CustomIndexingManagerWizard : Sitecore.ContentSearch.Client.Forms.IndexingManagerWizard { ...


0

If this is just for the indexing manager in the control panel, I think you can go with updating the IndexingManager.xml file under \sitecore\shell\Applications\ContentSearch. This file is responsible for showing the indexing wizard and the rebuild button click. This file use CodeBeside attribute Sitecore.ContentSearch.Client.Forms.IndexingManagerWizard from ...


Top 50 recent answers are included