Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 277

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

0 votes
Accepted

VariableSerialization.config Custom Config file

role and env is used in order to allow a rule-based configuration. This allow you to set configuration specific for given role or for given environment without a need to deploying different files to …
Marek Musielak's user avatar
  • 24.2k
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 key …
Marek Musielak's user avatar
  • 24.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 <configuration> tag of your …
Marek Musielak's user avatar
  • 24.2k
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="itemProvider"> <pipelines> …
Marek Musielak's user avatar
  • 24.2k
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> <log4net> < …
Marek Musielak's user avatar
  • 24.2k
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</customIndex2> <cu …
Marek Musielak's user avatar
  • 24.2k