Skip to main content

Questions tagged [patch-configuration]

This tag can be used for all questions that are related to add or change configuration settings in the Sitecore using patch file.

Filter by
Sorted by
Tagged with
1 vote
2 answers
48 views

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

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <contentEditor> <ribbons> <strip id="...
Sergey Martynov's user avatar
2 votes
1 answer
57 views

Are decimals supported when specifying cache size values?

Are decimals not supported when configuring cache sizes? I recently noticed that setting a cache size to 1.6MB resulted in the cache size being set to 16MB: Patch Config Below is the patch config ...
Marcel Gruber's user avatar
1 vote
2 answers
80 views

Unable to patch DefaultExternalUserBuilder in Sitecore 10.1.2

Our team is using Sitecore 10.1.2 with local environment hosted on developer machines, and deployed environments with K8s and Docker with Coveo serving all of those environments. Only in our deployed ...
Brent's user avatar
  • 13
2 votes
3 answers
429 views

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

What does "security: "require" in sitecore configuration mean? <sitecore role:require="Standalone or ContentManagement" security:require="Sitecore"> Does it ...
Jagmeet Kaur's user avatar
3 votes
2 answers
139 views

Configuring Sitecore Publishing Service to update multiple custom indexes

I'm currently trying to set up the Sitecore Publishing Service on an instance of Sitecore 10.1 (the page for all of the downloads and instructions is here) Without the publishing service, we rely on 4 ...
Joe Dowland's user avatar
0 votes
1 answer
65 views

Sitecore custom rule based configuration patching not working with word beta

I faced a weird issue while doing a custom rule-based patching in the Sitecore. I defined a setting like the following: <add key="beta:define" value="enabled" /> and then ...
Prashant Tomar's user avatar
1 vote
2 answers
223 views

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

Using Sitecore 10.0.1 I need to change the Prefetch and AccessResultCacheSize to 500 MB The Prefetch cache size is set as below in one config file <prefetch hint="raw:AddPrefetch"> &...
coder's user avatar
  • 57
1 vote
1 answer
107 views

How to patch configuration for Sitecore deployed in Azure App service

I need to patch a configuration for my Sitecore deployed on Azure App service. Should I go to App service -> Advanced Tools use Kudu to upload configuration patch files to App_Config\Include or is ...
John's user avatar
  • 151
1 vote
1 answer
30 views

VariableSerialization.config Custom Config file

Hope you all are well. I am new in Sitecore. So,I have few queries to clear my doubts. I have shared a picture which is a part of config file. In the picture why we used xmlns:role and xmlns:env ? ...
Subhrajit Mazumder's user avatar
1 vote
1 answer
288 views

Cumulative hotfix for Sitecore XP 10.3 [closed]

I am trying to install 'Cumulative hotfix for Sitecore XP 10.3' source at here. I am using Sitecore 10.3.0 (XP0/XP1) currently. which is correct solution for the 10.3.0 site as one of the following ...
Dharmnath Dubal's user avatar
3 votes
1 answer
501 views

Sitecore patch from Security Bulletin SC2023-002-576660

I am trying to install Security Bulletin SC2023-002-576660 hotfix over the XP 9.3 and 10.3 instances. We have multiple Sitecore core server roles (CM, CD, Processing, Reporting, EXM Dispatch). Do we ...
Dharmnath Dubal's user avatar
1 vote
2 answers
1k views

Applying patch config files to a local XM Cloud Docker environment

I'm doing some XM Cloud experiments. Based on the starter kit I've got it running locally with Docker: https://github.com/sitecorelabs/xmcloud-foundation-head There is also a Nextjs project which uses ...
Jeroen Breuer's user avatar
0 votes
1 answer
488 views

How do set all Sitecore Cookies as HttpOnly [duplicate]

I'm new to Sitecore, for my new Project, I need to make a few customizations in cookie creation. Is there any way to force the Sitecore to create cookies with HttpOnly as 'true'? I'm using Sitecore 10 ...
Libin's user avatar
  • 1
0 votes
2 answers
750 views

How to use xdt transform to remove role:require attribute

I am using xdt transforms to modify my Sitecore.config file for different environments. I want to remove a role:require="!ContentDelivery" attribute. I'm targeting the following element: <...
Matthew Dresser's user avatar
0 votes
0 answers
25 views

Enabling "Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild" Gives error [duplicate]

I am using Solr Cloud with Sitecore 10.1. When I enable the configuration file Sitecore.ContentSearch.SolrCloud.SwitchOnRebuild it gives me the below error. Here is the text error message Could not ...
Sumit Bhatia's user avatar
  • 5,919
3 votes
1 answer
292 views

Adding a patch config file ONLY to my production server

I have another question where I needed to add another target database to my sync in unicorn. However I only need the patch to take affect in my production environment since my local errors out on the ...
user1566783's user avatar
0 votes
1 answer
178 views

dictionary.dat file keeps getting deleted when browsing site

Whenever I publish my dictionary items, I see the dictionary.dat file getting created. However, whenever I browse the site, the file gets deleted. I can see that happen in real time. What might be ...
Marcel Gruber's user avatar
0 votes
1 answer
425 views

How to refer connection string in a patch config

We are using a marketplace module that has a config file like this: <appender name="DBLogAppender" type="Feature.DBLogAppender.SitecoreDatabaseLogAppender, Feature.DBLogAppender"...
sukesh's user avatar
  • 3,250
-1 votes
2 answers
334 views

Sitecore Patch not working in sitecore 9.0.1

I am using Sitecore 9.0.1 with SXA 1.7 .I have overriden the ContentPredicate() method for chinese language search box drawback from Sitecore.XA.Foundation.Search.Services.SearchService and i want to ...
Vinaya's user avatar
  • 341
1 vote
1 answer
772 views

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

I am trying to add links and extending the implementation of the GetLayoutReferences method from Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent class. However I am getting the ...
Olivia Shettles's user avatar
0 votes
1 answer
1k views

Where to see item cache or data cache is stored?

I have just enabled the below caches in web config file, now how to see the cache is storing in particular location or not ? If so which file or database table i have to check ? <setting name="...
Jeyanth Praveenkumar's user avatar
1 vote
0 answers
807 views

How to host a JSS app on localhost at a specific port?

How can I configure Sitecore to host my JSS app at a specific port on localhost? e.g. if I navigate to localhost:44011, my site renders instead of the default Sitecore home page. Our React single-...
KingTwinkie's user avatar
1 vote
1 answer
750 views

Patching a custom patch config file to change the order

I am trying to patch a file (already a patch) so that it can be loaded after that, but the patching is not working. Below is the scenario: Create a patch config file for loading the DI configurator ...
Prashant Tomar's user avatar
1 vote
0 answers
1k views

In MediaManager, how to get image's full url with specifed site's domain included?

The reason why I want to change the domain of an image url is because I'm providing an API to a third party. And the regulation is all media url and internal link url, needs to replace the default ...
wtf512's user avatar
  • 143
1 vote
1 answer
437 views

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

I have installed Sitecore in Azure PaaS. In App_Config\include folder I can see there are a lot of config files name started with "zzz". Can anyone please tell me what is these files are for? Are ...
Arkadeep's user avatar
  • 467
0 votes
0 answers
42 views

Sitecore 7.2 and Jpeg2000 image types [duplicate]

Is it possible to configure the Sitecore media library to recognize jpeg2000 files such as .jp2? I've tried using this solution. However, when uploading jp2 types to the media library it throws an ...
Sean T's user avatar
  • 252
6 votes
1 answer
1k views

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

I've created this patch file for a Sitecore 9 instance, but looking at showconfig.aspx it has had no effect. The config file name begins with a 'z' to try to ensure it's processed last. <?xml ...
R. Allinson's user avatar
4 votes
1 answer
613 views

Configuration patching not working in Identity Server

I am working on a Sitecore Managed Cloud project and for that, I want to patch AllowedCorsOrigins node to add AllowedCorsOriginsGroup2 for adding custom domain of CM site in Identity Server. Since ...
Surya Narayan's user avatar
3 votes
1 answer
203 views

Setting to prevent duplicate item in sitecore is also preventing emails from getting triggered

To prevent duplicate items in Sitecore I used the following setting <setting name="AllowDuplicateItemNamesOnSameLevel" value="false" patch:instead="*[@name='AllowDuplicateItemNamesOnSameLevel']"&...
Niti Chauhan's user avatar
0 votes
1 answer
732 views

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

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. I've searched the ...
Frank Rosario's user avatar