Timeline for Sitecore Custom Predicate Rule not working
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 3, 2021 at 13:15 | history | edited | Raman Gupta | CC BY-SA 4.0 |
added 18 characters in body
|
Oct 30, 2020 at 9:16 | vote | accept | Raman Gupta | ||
Oct 27, 2020 at 16:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 29, 2020 at 15:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 30, 2020 at 13:18 | answer | added | Raman Gupta | timeline score: 4 | |
May 7, 2020 at 15:55 | comment | added | Raman Gupta | @ChrisAuer Removing contact.interactions working for Evaluate method but not for CreateContactSearchQuery :( but in log i got this exception Failed to parse field value as JSON when validating JSON field {75AF2497-ADA0-4271-80DA-84F9DD2E4075} on item {D8DEB594-5E47-4A0B-8377-EEF8B9C24BE2} Exception: Newtonsoft.Json.JsonReaderException Message: Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '', line 1, position 1. where {D8DEB594-5E47-4A0B-8377-EEF8B9C24BE2} is the ID of my segmented List | |
May 7, 2020 at 11:39 | comment | added | Chris Auer | Great it is running. Let’s remove the contact.interactions.any from both functions. Just test the contact only. | |
May 7, 2020 at 5:54 | comment | added | Raman Gupta | @ChrisAuer In the CreateContactSearchQuery, I added a Log.Info("Custom Predicate", this); and getting this message in log file. Means rule is running. Yes, i am looking for a segmented list that is full of people with the matching first name. but that is not populating. | |
May 6, 2020 at 19:00 | comment | added | Chris Auer | In the Evaluate can you turn the return into variable. Log.Info those variables and return it. In the CreateContactSearchQuery just add a Log.Info("I'm here", this);. Let's see if you rule is running and what it says. Are you looking for a segmented list that is full of people with the 1st name of Chris? | |
May 6, 2020 at 4:23 | comment | added | Raman Gupta | @ChrisAuer I've deleted DLL from MA plan, but still the rule is not working. I've already created a segmented list using "all contacts" as the source | |
May 6, 2020 at 0:51 | comment | added | Chris Auer | You do not need to push the code to your MA site unless you are planning to use your code in an MA plan. But you do need to push it to your Sitecore site. Just push your dll to the sitecore site and create a segmented list using "all contacts" as the souce. | |
May 5, 2020 at 16:21 | review | First posts | |||
May 5, 2020 at 18:35 | |||||
May 5, 2020 at 16:17 | history | asked | Raman Gupta | CC BY-SA 4.0 |