7

You forgot to use patch:attribute syntax. Valid patch file: <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <log4net> <root> <priority> <patch:attribute name="value">ERROR</patch:attribute> </priority&...


5

For local testing of frontend code there is usually no need for building/publishing the visual studio solution. For your local dev environment, you have several options that will be a lot faster: A) Symlink from Frontend build-dir to webroot Set up a symbolic link in the local webroot and point that directory to the output of the frontend build. With ...


3

Is it not possible to update Sitecore settings value by the editors. Is not recommended to update these Sitecore values on runtime because it will restart your IIS/site.


2

Ideally It should not be a part of your VS Publish, it should be left as it is in server. As you have connectionstring.config related to environments not code. But if you have any custom database used in solution and varies according to environment then you may want to manage it form VS source control then you need to use transform tool like SlowCheetah ...


2

You can configure and manage websites for different purposes and different domains by adding them to the site definition node in the Sitecore.config file. All you need to add a patch file containing the new site definition. If you have already a patch you can update it as well. From your question it seems, everything is configured properly on CM and you ...


2

I have asked Sitecore the same question and their answer as below: 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. The hashed IPs are stored in the ReferenceData database. In the ReferenceData database, ...


2

Adam is on point! That is the best approach I've found to work with any Sitecore install. Here is what I ended up doing - with some explanation around it.. Insert the following into your Web.Config Inside <system.webServer> <rewrite> <rules> <rule name="CustomApplicationErrorPage" patternSyntax="ECMAScript"...


2

I would like you to add connection string in VS, there are a few advantages: You can manage connection string of multiple environments like UAT, Prod, Debug, Release If you want to add some custom connection string then you can also add in that and it will also get published You can transform connection string using SlowCheetah After the SlowCheetah ...


2

After working through this issue with sitecore support, it was determined that it was the documentOptions line that was the issue: <configuration ref="contentSearch/indexConfigurations/customSolrIndexConfiguration"> <documentOptions type="Sitecore.ContentSearch.SolrProvider.SolrDocumentBuilderOptions, Sitecore.ContentSearch.SolrProvider"...


1

The patching system used by Sitecore, and the config transform system used by ASPNet more broadly, are quite different animals. Firstly, in Sitecore (as you already noticed) you ship the original file and all the patch files to the target runtime environment as content. Which patch is applied can be controlled using special Sitecore-specific attributes in ...


1

Please see if below links and snippet helps: Build Configuration file for transformation: https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/transform-webconfig?view=aspnetcore-3.1#build-configuration You would have to first add transform web config or use default debug/release transformation file provided for Web.Config in solution. Basics ...


1

Based on your comments, you want the following Allow access to https://cm.yourdomain.com Deny access to https://cm.yourdomain.com/sitecore Azure Web App does not offer such feature, and you will need to add a firewall able to handle Layer 7. From perspective for Azure Application Gateway, you could try using custom rules: In Azure, you have Azure ...


1

The name of this index is also specified in the master database separately from configuration files. In order to properly rename this index, you must also update the Index Name field on the following item: /sitecore/system/Tasks/Commands/Content Testing/Rebuild Suggested Tests Index


1

You need to review the coveo search config files and make copies of QA index definitions and name them with "DEV_" prefix so you know. Once you define for all databases (master, web, core) you should see these new index definitions in the index manager in sitecore control panel. Select only these indexes (prefix "DEV_") and index them.


1

I would recommend that you use deploy time replacement to control connection strings. Have a look at how Octopus Deploy does this: https://octopus.com/docs/deployment-process/variables/variable-substitutions I then have development connection strings checked into source control and use config transforms to add in the token for replacement at deploy time. It'...


1

The other answers provide good solutions for 404 error processor. You can create a processor to capture mvc exceptions and show static error page as well. Pipeline - <mvc.exception> <processor type="Sitecore.Mvc.Pipelines.MvcEvents.Exception.ShowAspNetErrorMessage, Sitecore.Mvc"> <patch:attribute name="type">...


1

Could not load device 'ea07cc63-1d43-437e-86b8-9fec30bae95f' - This ID is the analytics cookie id set in your browser. Sitecore is trying to search for above id in xDB to find if you are the existing visitor or new visitor. sitecore was unable to connect to xDB due to incorrect credentials in your connection string config file for xdb.collection....


Only top voted, non community-wiki answers of a minimum length are eligible