Skip to main content
12 votes

Adding a patch config file ONLY to my production server

You can add role on your configuration into your patch config. For example I created a patch config for setting up site definition for prod environment. <site name="website1" env:require=...
Rishiraj Shekhawat's user avatar
12 votes
Accepted

Is it possible to create a patch config file for log level?

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> ...
Marek Musielak's user avatar
  • 23.9k
4 votes

"security: "require"="sitecore" in sitecore config

In the web config you will find security:define configuration which explain security definition: <!-- SUPPORTED MEMBERSHIP CONFIGURATION FOR CONTENT DELIVERY Specify the membership ...
Vlad Iobagiu's user avatar
  • 18.6k
4 votes

How to refer connection string in a patch config

You cannot. You can only patch settings in the app_config/sitecore.config file. Settings in other files such as the web.config and app_config/layers.config files cannot be patched. If you need to ...
Mark Cassidy's user avatar
  • 25.3k
3 votes
Accepted

Configuration patching not working in Identity Server

Your patch file is at incorrect location, folder structure should be like - in your case error is here - put config folder inside your environment folder, such as sitecoreruntime > production > ...
Mahendra Shekhawat's user avatar
3 votes
Accepted

Could not find the computed index field type: BXA.XA.Foundation.Custom.Search.AggregatedContent, BXA.XA.Foundation.Custom.Search

I can assume that the Assemble Name part in "BXS.XA.Foundation.Custom.Search.AggregatedContent, BXS.XA.Foundation.Custom.Search" does not exist in your solution. Please, check that your ...
Vadim Birkos's user avatar
2 votes

Where to see item cache or data cache is stored?

Caching is stored in memory, not in database or files. You can check the cache sizes from /sitecore/admin/cache.aspx, which will let you check the max size they have been configured and how much they ...
jammykam's user avatar
  • 13.8k
2 votes
Accepted

Patching a custom patch config file to change the order

Since the loadOrder concept was introduced in Sitecore 9.x that is why LoadOrder not working as expected for your 8.2. So please try considering configs to be loaded in alphabetical order.
Pradeep Gupta's user avatar
2 votes
Accepted

Why are there configuration files and folders prefixed with the letter Z?

There are probably hundreds of examples where using the z prefix can be seen. This is a convention followed to ensure that the patch is applied last. Before Sitecore 9, using a folder or a file ...
Michael West's user avatar
  • 18.2k
2 votes

Sitecore Patch not working in sitecore 9.0.1

Try this: <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/...
Gatogordo's user avatar
  • 20.2k
2 votes

How to use xdt transform to remove role:require attribute

xdt:Transform="RemoveAttributes(role:require)" should work correctly. But you need to remember to add xmlns:role="http://www.sitecore.net/xmlconfig/role/" attribute to the <...
Marek Musielak's user avatar
  • 23.9k
2 votes

how to create patch for changing cache size limits in sitecore config

Add the below patch file to your project. The below patch file has a patch for Prefetch, Data, Item, HTML, and AccessResultCache values with respective Content Delivery and Content Management roles ...
Himmat Singh Dulawat's user avatar
2 votes
Accepted

Applying patch config files to a local XM Cloud Docker environment

To patch you config file you can prepare folder structure as \App_Config\Include\z.Services.GraphQL\z.Sitecore.Services.GraphQL.EdgeContent.config. As mentioned in read me it is XP0 container topology ...
Sumit Helaiya's user avatar
2 votes

Configuring Sitecore Publishing Service to update multiple custom indexes

You need to use different tag names for each of the indexes. Otherwise Sitecore will merge them into one. Use: <customIndex1>customindex_1</customIndex1> <customIndex2>customindex_2&...
Marek Musielak's user avatar
  • 23.9k
2 votes
Accepted

Are decimals supported when specifying cache size values?

No. Commas , and periods . are stripped from the values. You can take a look at Sitecore.StringUtil.ParseSizeString(string) for proof, I've not found this officially documented anywhere. Valid sizes ...
Mark Cassidy's user avatar
  • 25.3k
2 votes
Accepted

Want to disable Content Testing in Sitecore 9.0.1, having issues patching configuration

You're missing one <pipelines> node around <group>: <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <group name="...
Marek Musielak's user avatar
  • 23.9k
1 vote
Accepted

How to create custom strips, buttons for content editor from asp.net project

You can create strips, chunk and button by navigating to the core database and creating them in below order. In order to create the strip, you need to navigate to following path /sitecore/content/...
ckhanna's user avatar
  • 1,268
1 vote

How to create custom strips, buttons for content editor from asp.net project

To create custom Tabs, Strips, Chunksk, Button in Sitecore, you need to create some items from different templates in the core database. Here are some steps that you need to create those items. ...
Sumit Bhatia's user avatar
  • 5,133
1 vote

"security: "require"="sitecore" in sitecore config

It does not mean accessing the Sitecore or Sitecore domain. Sitecore uses the Security database to store security information. The Security database is by default part of the Core database but it can ...
Sumit Helaiya's user avatar
1 vote

"security: "require"="sitecore" in sitecore config

As per my findings, the security:require attribute in the configuration indicates if security is enforced when accessing items. It typically specifies that certain security conditions must be met for ...
Sumit Bhatia's user avatar
  • 5,133
1 vote
Accepted

Configuring Sitecore Publishing Service to update multiple custom indexes

A common way to separate multiple elements with the same name is to use a desc description attribute. This will prevent Sitecore from merging the elements and it's fairly easy to write patch ...
mikaelnet's user avatar
  • 809
1 vote

Sitecore custom rule based configuration patching not working with word beta

This must be a typo in your configuration (or, unlikely, something SXA related). I've tested beta:define and prd:define on Sitecore without SXA and it works as expected: First in web.config <add ...
Marek Musielak's user avatar
  • 23.9k
1 vote
Accepted

how to create patch for changing cache size limits in sitecore config

To configure Item and Data cache values, create a patch file for cache size values. For example, custom.caching.config and add the following <configuration xmlns:patch="http://www.sitecore.net/...
Sumit Bhatia's user avatar
  • 5,133
1 vote

Applying patch config files to a local XM Cloud Docker environment

In your repo, you will see that there is a VS Solution file and a VS project file. The project is under /src/platform/Platform.vsproj This platform project is built and layered into your XM Cloud CM ...
Richard Seal's user avatar
  • 20.5k
1 vote

How do set all Sitecore Cookies as HttpOnly

I agree with Raman's comment, here is an addition to this, if you want to set cookie HttpOnly using code, you can do as follow private const string helloCookieName = "HELLO_COOKIE"; var ...
Praveen Soni's user avatar
1 vote
Accepted

How to patch configuration for Sitecore deployed in Azure App service

Yes, you can use Kudu Console to upload configuration patch files. see the blog post: Copying and unzipping files using Kudu on Azure App Service From your FTP client example WinSCP. In the Web App, ...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

Cumulative hotfix for Sitecore XP 10.3

Both the hotfix packages are the same so you can use any of them. Just take care of the on-prem (your local developer environment) and PaaS. For on-prem, from the Sitecore 10.3.x rev. xxxxxx PRE/...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

Sitecore patch from Security Bulletin SC2023-002-576660

Yes, the issue impacts all Sitecore XP Core server roles (Content Delivery, Content Management, Reporting, Processing, EXM Dispatch). Apply the solution to different roles. Refer FAQ section here The ...
Sumit Helaiya's user avatar
1 vote

How to use xdt transform to remove role:require attribute

You can use Replace syntax: <database id="core" singleInstance="true" type="Sitecore.Data.DefaultDatabase, Sitecore.Kernel" xdt:Locator="Match(id)" xdt:...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

dictionary.dat file keeps getting deleted when browsing site

The issue turned out to be this code that was present in one of my performance config patches: <pipelines> <getTranslation> <patch:delete/> </getTranslation> </...
Marcel Gruber's user avatar

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