New answers tagged configuration
1
vote
Accepted
Use dictionary from xml file, Sitecore 8.2
You can use Literal to display the Publishing Warning message as below inside the xml file.
<Literal class="publish-warning-text" Text='${Translate.Text("PublishingWarning")}' /&...
0
votes
Accepted
Unexpected provider type: Project.Common.Providers.SwitchingLinkProvider. Expected: Sitecore.Links.LinkProvider
You will need to extend your custom link provider with Sitecore.Links.LinkProvider provider class since you are adding this in the link provider collection.
using Sitecore.Links;
public class ...
0
votes
Unexpected provider type: Project.Common.Providers.SwitchingLinkProvider. Expected: Sitecore.Links.LinkProvider
It looks like in the latest version of Sitecore, what ever it is that is consuming your custom class is expecting either a LinkProvider or something derived from it.
I copied your custom class into a ...
0
votes
Accepted
Unable to resolve service for type 'System.String' while attempting to activate 'Project.Common.Providers.CategoryStandardValuesProvider'
You are gettting this error since string type is not resolved through dependency injection. In order to add multiple providers for standard value, you will need to extend the StandardValuesProvider ...
0
votes
Unable to resolve service for type 'System.String' while attempting to activate 'Project.Common.Providers.CategoryStandardValuesProvider'
Your error indicates that Sitecore's dependency injection system is attempting to resolve a constructor parameter of type System.String, but it doesn't know how to supply a value for it. So in order ...
1
vote
Accepted
Could not create instance of type: Project.Common.Providers.SwitchingStandardValuesProvider. No matching constructor was found. Constructor parameters
In Sitecore, when you are configuring providers in the web.config (or any similar patch configuration file), the resolve="true" attribute instructs Sitecore's factory system to use ...
0
votes
Could not create instance of type: Project.Common.Providers.SwitchingStandardValuesProvider. No matching constructor was found. Constructor parameters
You will need to add resolve as true where you are patching the standard value provider as below.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
...
Top 50 recent answers are included
Related Tags
configuration × 312site-configuration × 18
solr × 17
security × 17
azure × 13
sitecore-client × 11
xdb × 9
iis × 9
content-search × 8
indexing × 8
media-library × 7
sxa × 6
xconnect × 6
upgrade × 6
pipelines × 6
content-delivery × 6
patch-configuration × 6
experience-editor × 5
azure-search × 5
multisite × 5
logging × 5
error-handling × 5
content-editor × 4
multilingual × 4
caching × 4