3

NOOOOOOOO Under most circumstances this is a horrible idea. The reason is if you change from a string to a bool or a string to an int, when the Newtonsoft deserializer runs in xConnect, it will result in this error. Sitecore.XConnect.Operations.DependencyFailedException: One or more dependencies failed ---> System.InvalidCastException: Specified cast is ...


3

Is this in Sitecore Context or outside the context (aka a raw call to xConnect) In Sitecore Context Habitat has a good example of this https://github.com/Sitecore/Habitat/blob/2d3ee809fa4035a46a410d0438ed41e1c7f8a3b1/src/Foundation/SitecoreExtensions/code/Services/TrackerService.cs#L100 OutcomeDefinitionManager comes from DI IDefinitionManager<...


2

You just need to copy below two connection strings from CM app service to your console app to connect to XConnect. <add name="xconnect.collection" connectionString="https://XXXXXXXX-xc-search.azurewebsites.net" /> <add name="xconnect.collection.certificate" connectionString="blah;blah;" /> and then use ...


2

The package needs to be uploaded by you to Azure Storage. Solr XConnect Search Web Deploy package can be downloaded from Sitecore Developer Portal, in Download options for Azure AppService section. The name of the package: Sitecore 9.2.0 rev. 002893 (Cloud)_xp1collectionsearchsolr.scwdp.zip. After that, a recommended approach is to upload the package to ...


2

An answer has also been given through the Sitecore Community Slack channel. Credit to sumithpd (Sr. Product Manager - Experience Platform at Sitecore) The mentioned class has been removed from the assembly, but it is still referenced in the configuration. It doesn’t affect any functionality since the class was obsolete for some time, and the log errors can ...


1

This looks like SQL encryption using column encryption keys is enabled, but possibly the way in which this is configured in 9.2 is different from 9.0.2, or the encryption keystore on your xConnect instance has not been configured. If you previously had encryption using column encryption keys and a keystore or Azure KeyVault, you might need to reconfigure ...


1

Based on the code in CertificateHttpClientHandlerModifier the certificate should have been loaded. However, you can create your own certificate handler by implementing IHttpClientHandlerModifier. public class CustomHandler : IHttpClientHandlerModifier { public void Process(HttpClientHandler handler) { X509Certificate cert = ...


1

It seems that you have not installed client certificate on app service from which you are trying to connect to xconnect. Go to connectionstring.config of your website and note thumbprint of the certificate Go to app service where you are running this code and navigate to TLS/SSL settings and then click on Private Key Certificates (.pfx) You should be able ...


1

I have experienced this many times (specifically in my dev instance). List Manager in Sitecore 9 displays data from 'xDB' Solr index (with previous versions of Sitecore, it was separate list index). It won't show the Contact until it gets indexed even though the Contact has been added to xConnect Collection database. Hence you need to make sure that your ...


1

You need to deploy it again after changing the data type. Deploy custom Facet model to XDB To Deploy the custom facet model to XDB you need to serialize the collection model in which you defined your custom facet model. To serialize into JSON prefer Console application to generate the JSON file. class Program { static void Main(string[] args) { ...


1

This is actually a known bug in Sitecore 9.0.2. I opened a support ticket with Sitecore to find the resolve and steps here https://sitecore.box.com/s/7ld7eprcyjjp8z4hr5em6gyr6oakkmka. Be sure to also provide a site patch file containing all definitions of your sites on the processing server as well otherwise it will not resolve to the correct Site.


Only top voted, non community-wiki answers of a minimum length are eligible