Jason
03/25/2025, 11:31 PMCeligo AI
03/25/2025, 11:31 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you're experiencing an issue with the campaign category field disappearing after saving a Prospect record. This could be due to a number of reasons, but without more specific information, it's difficult to provide a definitive solution. However, one possible workaround could be to use a client script. When the category field changes, you could get the selected common items and store them in a global variable. Then, when the category changes again, you could use the variable to restore the common item selection. This way, even if the user changes their mind and switches categories, the common items that were selected will still remain selected. Here's a pseudo-code example of how this could work:
javascript
var commonItems;
function fieldChanged(context) {
if (context.fieldId === 'category') {
commonItems = getCommonItems(context.currentRecord);
}
}
function saveRecord(context) {
if (context.fieldId === 'category') {
restoreCommonItems(context.currentRecord, commonItems);
}
}
In this example, getCommonItems
would be a function that retrieves the common items from the current record, and restoreCommonItems
would be a function that sets the common items on the current record.
Remember, this is just a workaround and might not be the best solution for your specific use case. It would be best to investigate further why the campaign category field is disappearing after saving the record.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
03/25/2025, 11:32 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811535716
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811036766
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803399086
Celigo AI
03/25/2025, 11:32 PM