New answers tagged

0

I think the simplest approach for this would be to modify the Coveo stylesheet (or reference your own) to add new styling rules (copying the styles that you like) in order to overwrite the styling rules for Dynamic Facets. As far as maintenance, you'll need to make sure your new styling rules are applied during any future upgrade of the Coveo framework. ...


5

Ones you want to extend your contact model with the facet above, a code will look like below: JobPreference model: using System; using Sitecore.XConnect; using Sitecore.XConnect.Schema; namespace {your-namespace} { [Serializable] public class JobPreference { public JobPreference(Guid jobId, string jobName, int priorityValue) { ...


2

You are going to want to run this code in the users session. Like a button click. private static void ProcessProfile(Sitecore.Data.Items.Item profileItem) { // update the tracker var profile = Tracker.Current.Interaction.Profiles[Constants.Profile.IndustryName]; var scores = new Dictionary<string, double> { { ...


1

If your forms are in AJAX mode, your issue is going to be that tracker is configured to not run on Forms Ajax mode. Not sure why. At the top of your code, add this. if (Tracker.Current == null && Tracker.Enabled) { Tracker.StartTracking(); } Then do your normal xConnect code var firstNameField = GetFieldById(data.FirstNameFieldId, ...


0

This is what I have done: private readonly string IdentifierSource = "Subcribe.Form"; protected virtual ITracker CurrentTracker => Tracker.Current; protected override bool Execute(XYZ data, FormSubmitContext formSubmitContext) { if (CurrentTracker == null && Tracker.Enabled) { Tracker.StartTracking(...


Top 50 recent answers are included