Anton
  • Member for 5 years, 3 months
  • Last seen this week
ModelBinders vs Sitecore Debug mode
Accepted answer
2 votes

I looked how Sitecore timers for debug mode are implemented, and modify my code: public class SomeTypeModelBinder : IModelBinder { public object BindModel(ControllerContext controllerContext, ...

View answer
SXA CLI skips uploading pre-optimized-min.css.map, says "Incorrect File Name."
1 votes

Update from November 2021: The answer is relevant if you use Sitecore SXA(@sxa/celt) lower than 10.2. And it looks like Sitecore SXA 10.2 was inspired by this answer. If you use Sitecore SXA 10.2 or ...

View answer
ASP.NET Webforms with Sitecore 10.2
1 votes

I can confirm that Sitecore 10.2 works with ASP.Net Webforms renderings. If you install clean Sitecore 10.2 - you will see that home page is built using layout(/layouts/Sample Layout.aspx) and ...

View answer
Dynamically generated PDF display on browser Issue with Sitecore MVC
1 votes

How to fix approach 2: Register a custom ASP.NET MVC route for your action. You need to create new processor: public class RegisterCustomRoute { public virtual void Process(PipelineArgs args) { ...

View answer
Jss not recognized as internal or external command while running in C#
1 votes

JSS command line is an part of @sitecore-jss/sitecore-jss-cli npm package. It means that rules on how to run it are exactly the same as for other npm packages. You need either: Install @sitecore-jss/...

View answer
Sitecore on MAC machine using Docker
1 votes

Sitecore uses Windows-based Docker containers. You could not run Windows containers directly on OS X. You have 2 options: Install Bootcamp on your machine and allow dual boot between OS X and Windows ...

View answer
How to resolve SQL Injection flaw in sitecore.logging.dll
Accepted answer
1 votes

I suggest you don't worry about it and with high probability, you can ignore it. Open Sitecore support ticket and ask them about it to be confident that it is not an issue. You can open Sitecore....

View answer
Problems with solr docker suggester in context query: blanks are not correctly processed
Accepted answer
1 votes

Suggester works on terms. That is why, first of all, open Solr admin console and check terms for sugStreet field. According to your question, this information should be availably by this URL: http://...

View answer
Getting Sitecore Users faster, filtering based on custom property
1 votes

Sitecore user management is based ASP.Net Membership. () The architecture of ASP.Net membership wasn't designed to perform operations that you try to do quickly. How your code will work internally: ...

View answer
Azure AD B2C via MSAL.js and Sitecore Federated login
1 votes

How I did a similar thing for Sitecore 7: Disclaimer: I expect that it could be done easier with the configuration of Federated Authentification, but there were no Federated Authentification at that ...

View answer
Passing Code Generation Properties to TDS T4 templates
Accepted answer
1 votes

You try to get a property like it is passed into a session variable. But TDS passes Additional Code Generation Properties into SitecoreItem model. That is why you need to use a different approach to ...

View answer
Find-item Greaterthan not recognized by SPE 3.0
1 votes

Sitecore Powershell Extensions 3.0 contains only next filter types: None, Equals, StartsWith, Contains, EndsWith Please upgrade PowerShell to the latest version. You will get bigger list of filters: ...

View answer
Adding a telephone link (href=tel:) to the general link field type
1 votes

Quick and dirty solution based on knowledge, how Sitecore works with General Link field, and how browsers work with tel links. Sitecore looks for :// present in the external link to identify the ...

View answer
unicorn deployment failure - can't sync when deployed to real environments
1 votes

I think that issue is that you pointing to wrong location. Here are steps, how to make sure that Unicorn points to right location on disk: Open unicorn.aspx Open any Unicorn configuration, scroll to ...

View answer
Identity Server logs clean-up
1 votes

I think that it should be done not on the Sitecore level. I do the similar thing by scheduled PowerShell script. For your case this Powershell script should do the work: $old = 10 $folder = 'your path'...

View answer
Need to get the Search response time
Accepted answer
1 votes

Enable Solr logging either via Solr admin console or via startup setting Restart Solr service if you changed startup setting Run something on Sitecore to fill log. (As Michael West mentioned in ...

View answer
Is it possible to associate goal triggering on button click without code?
1 votes

Yes, it is possible. But it requires workarounds. There are 2 possible ways. Use Sitecore.SBOS.LinkManager module from GitHub. It will allow you to set goal/pageevent/campaign on external links. If ...

View answer
Sitecore 9.2 Unit Test Error: Could not find configuration node: contentSearch/configuration
Accepted answer
1 votes

First of all, you are writing unit test. Unit test means that you testing some piece of code without dependencies on data. But in your case, you using Sitecore Content Search using (var context = ...

View answer
Prevent language code in URL
Accepted answer
1 votes

First of all, make sure that all internal links are generated correctly, without /en/ What about external links(someone added your page to bookmarks, google cached URL, etc.): You can create rewrite ...

View answer
Sitecore 9.0 works with solr 7.2.1?
1 votes

It is not officially supported. Use this table to check. 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 ...

View answer
ERROR Exception in UrlAgent (url: /sitecore/service/keepalive.aspx) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
1 votes

Question looks very similar to this one, but a little bit different. Before doing anything, you need to think whether you really need keepalive.aspx agent on your CD servers at all. You wrote that ...

View answer
PublishSmart method in sitecore PublishManager method is not working
1 votes

Smart publishing works in next way: It comes through all items in master database and compare "revision" field of item in web and master databases. If revision is different then item should be ...

View answer
Media Library Items: can I specify a path that is relative from the "Media.FileFolder" setting?
Accepted answer
1 votes

You are able to configure virtual folder in IIS that will point to absolute location on your server, e.g.: "SharedMedia" folder that point to "C:\SharedMedia". Then you will be able to configure ...

View answer
Sitecore.Kernel nuget package fails to install from 9.1.0 nuget feed with -IgnoreDependencies
1 votes

I could not reproduce issue on my machine, but I have idea what could be wrong. When you download Sitecore.Kernel package from 9.1 feed and will look on its specification(.nuspec), you will see that ...

View answer
How to transfer EXM campaign and mail between environments?
1 votes

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). ...

View answer
How can I change the default database used for language import in the control panel?
Accepted answer
1 votes

It looks like it is not configurable. But I can suggest you few workarounds: First is changing configuration of Sitecore. Databases list on ImportLanguage form uses Factory.Instance.Value....

View answer
How can I integrate/embed MVC app into the Sitecore desktop?
1 votes

Application in Sitecore backend works in a same way as Sitecore pages. You need to: Create Layout(under /sitecore/layout/Layouts) in core database (as path for layout you can put address of you app. ...

View answer
Content Delivery Cluster- Load Balancer Session configuration
1 votes

Let's consider two statements about LB and sessions: Sticky LB will route user to same CD server in cluster. OutProc session is required to share session information between servers. Knowing this, ...

View answer
Delete old records from WFFM 2.4 configured with Sitecore 7.2
1 votes

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: DELETE FROM Field ...

View answer
Unable to send WebDriver instance between scenarios residing in different feature files(SpecFlow)
1 votes

SpecFlow will generate tests for each of your scenario. [Test] public void A() { // runs Scenario A } [Test] pubic void B() { // runs Scenario B } Tests will be executed by test runner (VS ...

View answer