grg
  • Member for 5 years, 3 months
  • Last seen this week
  • Copenhagen, Denmark
Patching xConnect, AutomationEngine, IndexWorker configuration
Accepted answer
10 votes

You should be able to patch xml configuration files in the following way: Create patch config file with the name: sc.(patch name).xml Add the actual settings to patch: e.g. patch ...

View answer
Configure Azure search for Sitecore xConnect
Accepted answer
8 votes

Enabling Azure Search To use xConnect and IndexWorker with Azure Search you need to do a couple of things: Create Azure Search service in your Azure subscription. Copy the service key which will be ...

View answer
Switch xDB Search indexes from SOLR to Azure Search
Accepted answer
8 votes

Ensure that IndexWorker service is updated in the same way as xConnect site was: Stop IndexWorker windows service. Disable all SOLR configs in IndexWorker and enable all AzureSearch configs under ...

View answer
What kind of license does xConnect require?
5 votes

xConnect is part of Sitecore's xDB offering, so normal xDB license (with module Sitecore.xDB.Base) is enough.

View answer
SOLR 6.5.1 will not run with Sitecore as a service on Windows machine
Accepted answer
5 votes

The issue of services failing to start is mentioned on NSSM homepage: Users of Windows 10 Creators Update should use prerelease build 2.2.4-101 to avoid an issue with services failing to start.

View answer
Is a Sitecore campaign triggered as a 'live event'?
4 votes

Campaigns are not treated as live events OOTB. Live events are only detected for page events and outcomes by corresponding processors: Sitecore.Xdb.MarketingAutomation.Tracking.Pipelines....

View answer
Difference between xConnect model versions
Accepted answer
4 votes

Even though it seems confusing at first, but different XConnect model version does not make model unique only model name does. Model versions can be used for your own sake to keep track of different ...

View answer
xConnect Contact Identifier Search
4 votes

Contact Identifiers are considered PII sensitive and are not indexed by default. To enable indexing of PII sensitive data, set IndexPIISensitiveData to true for xConnect index worker which is ...

View answer
How to get PageViewEvents from Interaction
Accepted answer
4 votes

You should get a contact with expanded interactions which will contain page events. private async Task<IReadOnlyCollection<PageViewEvent>> GetAllPageEvents(Guid contactId) { ...

View answer
How to check whether goal has been triggered in mongoDB collection
4 votes

If you just want to validate if the page event was saved, you can run a MongoDB query against Interactions collection: db.Interactions.find({"$and": [ {"Pages":{"$elemMatch": {"PageEvents"...

View answer
Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?
4 votes

As MongoDB is not supported by Sitecore 9 there is no recommendation yet. Any advice you get will only be a speculation. Having said that, I think that there will not be any significant differences ...

View answer
Is MongoDB a prerequisite to install EXM?
4 votes

CMS-Only mode is incompatible with EXM. One of the usages of MongoDB is to store interactions that are created when someone clicks a link in an email. However, in your case the message mentions ...

View answer
Experience profile dashboard - confusing visits count numbers
4 votes

The logic of finding how many visits ago a pattern was matched is as follows: Find an interaction that matches a pattern by inspecting Profiles sub-document in Interactions collection in MongoDB. ...

View answer
Sitecore MongoDB Compatibility Version for Sitecore 8.2 update2
3 votes

Since MongoDB 4.0.5 is officially supported for Sitecore 8.2.2, you should not encounter any issues during upgrade. Regarding MongoDB driver, you can find driver version compatibility version here. ...

View answer
How to mock XConnectClient
Accepted answer
3 votes

I was able to run your code by not mocking Uri, but by Mock<XConnectClient> client = new Mock<XConnectClient>( new Mock<XConnectClientConfiguration>( ...

View answer
Difference between Analytics and XDB Contact
Accepted answer
3 votes

These are two different models used for different purposes. To quote Sitecore documentation: The tracker uses its own model (Sitecore.Analytics.Tracking.Contact) to represent contacts, interactions, ...

View answer
What happens to enrolled contacts when they are merged?
Accepted answer
3 votes

Based on Sitecore documentation engagement plan enrollments are not merged. Hence you have to implement any required logic yourself. Be it purging the source contact from all plans before merging or ...

View answer
Retrieving data from interactions table
3 votes

You should not query xdb_collection database. XConnect API is meant to be used for this type of scenarios. You have 2 ways to retrieve interactions from XDB database: Interaction extraction to get ...

View answer
SOLR and Zookeeper setup
3 votes

If Solr Cloud is correctly configured you should be able to see "Cloud" menu in Solr Admin UI. It should also show you shard and replica configuration. Regarding the Zookeeper, you are correct - you ...

View answer
How to get all users who registered to an outcome
Accepted answer
3 votes

To retrieve Outcomes for given outcome definitions There is no ready made API, but you can either write a Mongo query or extend Sitecore.Analytics.Outcome.Data.MongoDbOutcomeRepository. public class ...

View answer
xConnect in a non-sitecore context interaction lifetime
Accepted answer
3 votes

Web interaction have a clearly defined lifetime - it's completed when web session expires. What about interactions that you're creating? What's their lifetime? If you are trying to model "a session" ...

View answer
What is the Sitecore.Caching.CachePriority enum type used for?
3 votes

You are 100% correct - Sitecore.Caching.Generics.Cache<T>.CacheEntry is not used out of the box to prioritize cache entries in any way. My guess is that CachePriority property is meant to be ...

View answer
How does Sitecore xDB work in a basic CM/CD setup
3 votes

I think that official Sitecore documentation is very good starting point to get familiar with xDB and reporting architectures. Once you are familiar with it, you are more than welcome to ask more ...

View answer
Custom click event getting registered in xDB without triggered by the visitor
Accepted answer
3 votes

If you don't want to trigger a page event while hitting a page, then you shouldn't associate pages with events. Instead your item template could contain a field that defines which page events to ...

View answer
How to programmatically trigger a goal to contact and then retrieve it in the same visit and in later visits
2 votes

Goals of the current visit (interaction) are stored in the session and can be retrieved using Tracker API: List<PageEventData> pageGoals = Sitecore.Analytics.Tracker.Current.Interaction.Pages ...

View answer
How to Create a Custom Facet with Hierarchy in Sitecore 9?
Accepted answer
2 votes

It's possible to create facets containing Dictionary<K,V> or List<T> properties in 9.1. Facet class needs to derive from Sitecore.XConnect.Facet. See Sitecore's documentation for more ...

View answer
Why Sitecore 9 xDB on SQL server 2016?
2 votes

One of the most important SQL Server 2016 features required by xDB is always encrypted which provides data at rest encryption. It's supported by MongoDB in Sitecore 8 xDB while SQL Server 2016 ...

View answer
How to debug merge handler code in sitecore 9.0.1
Accepted answer
2 votes

Debugging of xConnect is no different from debugging any other website hosted in IIS. Make sure that both dll with your changes and pdb files are copied to xConnect instance. In Visual Studio click ...

View answer
Refreshing KeyBehaviorCache after triggering a goal
2 votes

Key behavior cache (KBC) is read-only and is loaded when a session starts. KBC is updated when session is submitted and is not meant to store live data by design. You could try combining it with ...

View answer
Sitecore Social Connected Module - How to test locally
2 votes

Last time I created Facebook app 2 years ago and at that point I got it working with localhost:port as Site Url and localhost as App Domains. If that doesn't work, you could try creating a "Test App". ...

View answer