vandsh
  • Member for 5 years, 3 months
  • Last seen more than a month ago
Compare two branches of a Sitecore content tree
15 votes

You may be able to package up both paths of the content tree and use something like WinMerge or Kdiff to do a item by item comparison, which might be quick and dirty but may be hard to wade thru ...

View answer
Sitecore Full Content Search
14 votes

From what I understand, you are looking for a way to get the datasources that your current page is referring to to be indexed along with said page. Several times now we have used the approach defined ...

View answer
Config Patch With Multiple Matched Attributes
Accepted answer
13 votes

Looking thru one of my previous projects I recalled seeing this in, you can use an and to meet the attribute values of both your method and type (example): <!-- patch match on both type and method ...

View answer
Issue with Custom Field Type not rendering in Shell
Accepted answer
9 votes

After copying /sitecore/system/Field types/List Types/Multilist from List Type to the /sitecore/system/Field types/User Defined and renaming, I went over to Master, updated the template to the newly ...

View answer
Sitecore MVC Routing and Virtual Folders
Accepted answer
8 votes

What I ended up doing is registering a single route on pipelines/initialize: <pipelines> <initialize> <processor type="MyFramework.Routing.RegisterVirtualFoldersRoutes, ...

View answer
Experience Editor Timeout change
Accepted answer
7 votes

They are all slightly different things and do not necessarily need to be in sync: <forms name=".ASPXAUTH" cookieless="UseCookies" timeout="20" /> Is a Forms Timeout and is the length in time ...

View answer
MVC equivalent of SecurityCheck Pipeline Processor
7 votes

Like Mark Cassidy mentioned above, <mvc.requestBegin> would be a close "equivalent". I ran into a similar situation wanting non-authenticated users to be redirected to the <site loginPage="/...

View answer
How to get Sitecore Pipelines to run along with /API calls
Accepted answer
5 votes

Is that API route something that should be reserved for Sitecore only calls? Yes, /api/ is a reserved space by default. One of the services that falls under this area is the Item Service. And if I ...

View answer
Tool to test long term execution footprint of your Sitecore solution
5 votes

Ran into a similar situation in a project, wanted to just 'smoke test' things towards the end both locally (Resharper test runner) and in CI/deployment (VStest task). Ended up creating another 'Test' ...

View answer
Powershell Script to update Date
4 votes

As far as editing an item, your script looks to be doing what it needs to, but I'm guessing the actual date value is not something Sitecore recognized for a Date type field. Depending on the date ...

View answer
How are boosting values used for sorting when searching against multiple boosted fields
Accepted answer
4 votes

I realize you are using Azure Search so my answer may not be directly relevant to this, but having more familiarity with Solr I thought I would take a look: https://wiki.apache.org/solr/...

View answer
Update fields using Sitecore Powershell Extensions
4 votes

@chorpo hit the nail on the head, Get-ChildItem does not get current item, but the children underneath the current Item. You will need to do a Get-Item as well to get/update the values of the current ...

View answer
WebApi failing to resolve dependencies
4 votes

Ran into this exact same issue but with Ninject instead. From what I could tell it was a conflict of resolution between WebAPI and MVC. Ultimately I was able to resolve the issue by implementing my ...

View answer
Improving queries performance
3 votes

From what I can tell given the above, you are trying to search the entire tree for instances of Dynamics>CRM and writing the path to a log, you might see some better times from a fast:// query ...

View answer
Deleting an Item with a null Template
3 votes

In a less than elegant route, I was able to resolve the issue. I packaged up the content tree and installed it locally. From there I went into the database and found the culprit Item: SELECT * ...

View answer
Sitecore 8: Items Duplicated in Web Index After Publish
3 votes

It may depend on what version of Sitecore you are running, from this SO post (https://stackoverflow.com/questions/27272832/urllink-in-sitecore-indexs-returns-media-url-with-sitecore-shell-media) it ...

View answer
Getting all items using a Specific Sublayout using Sitecore Powershell Extensions
2 votes

Likely very similar output as @morten.engel's response, but Sitecore Powershell Extensions has a Get-ItemReferrer command: $allReferrers = Get-ItemReferrer -ID '{093B75B4-5060-4F3D-AFAB-DCA4999F7E96}'...

View answer
Conditional Rendering Rule Order
2 votes

Dug in a little after I saw your question and it appears that the Predefined Rules are handled as a special case; Within Sitecore.Shell.Applications.Rules.RulesEditor.RulesEditorPage and in the ...

View answer
Data Exchange Framework No Processor Definitions Assigned Error
2 votes

Ran into this exact same issue, but by adding the SupportedTemplates to both the Converter and the Endpoint, that seemed to resolve the issue: //For the Converter: private static readonly ...

View answer
LinkManager returning inconsistent Server Url
2 votes

Dug in a little and came across https://community.sitecore.net/developers/f/10/t/3721 Email Experience Manager 3.3.0 rev. 160527 It's look like a bug for multisite Sitecore environments. For ...

View answer
Create mock tests for the Sitecore logic
1 votes

Ultimately it depends on what type of item/class you are passing into your code or logic in order to make it truly "testable" and what that parent child relationship really is. Sitecore.FakeDb is a ...

View answer
Solr custom field reader and indexing
1 votes

Ideally, something like this should work: [IndexField("myideas")] public List<string> MyIdeas { get; set; } But I have seen others (depending on what version of Sitecore) have issues with very ...

View answer
What would cause Sitecore and Solr to not talk to each other?
1 votes

Recently encountered the same Registering the index for re-initialization once connection to SOLR becomes available with an additional Error handling 'status' action in the crawling log. After double ...

View answer
Setting Up Query Elevations
1 votes

In my experience, trying to get ExtraParam to work with the Sitecore.ContentSearch especially in 8.* has been unfruitful (tried getting grouping to work on groupId with no luck) as the ExtraParams ...

View answer