Recherches récentes
Pas de recherche récente

Christopher Kennedy
Adhésion le 14 avr. 2021
·
Dernière activité le 13 févr. 2025
Suivis
0
Abonnés
3
Activité totale
802
Votes
0
Abonnements
337
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Christopher Kennedy
Christopher Kennedy a ajouté un commentaire,
Thanks for the context. The plan level is an issue here for sure. Custom business rules are not available on the Legacy Support Essential plan. I recommend a plan upgrade to take advantage of this feature set.
Afficher le commentaire · Publication le 13 févr. 2025 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Can you share the conditions for when you currently perform the redaction?
Afficher le commentaire · Publication le 06 févr. 2025 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Afficher le commentaire · Publication le 31 janv. 2025 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Afficher le commentaire · Publication le 28 janv. 2025 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
I see you have a ticket open about this. I'm going to take that ticket over to work through this issue with you directly.
Afficher le commentaire · Publication le 28 janv. 2025 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Can you share some more context:
- Are you building a server-side Zendesk app? Or client-side app?
- How are you including MSAL? And how are you detecting that it's failing to initialize?
Afficher le commentaire · Publication le 20 déc. 2024 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Afficher le commentaire · Publication le 18 déc. 2024 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
You can actually include HTML links in the value when using
ticket.editor.insert
. However, whether or not it is supported depends on the ticket channel. Live channels like chat and messaging do not support rich text replies, while other channels (web form, email, etc) do. That's really what accounts for the discrepancy in behavior that you're seeing. You can always use the ticket.editor.capabilities object to check whether the current channel supports rich text before performing the insert.Afficher le commentaire · Publication le 18 déc. 2024 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
Hi Simon,
Thanks for the context. Sorry for the missed reply! Since you're just building an article excerpt, the simplest approach is to just pull the text from the returned article JSON body. This is easier to accomplish in vanilla JS using DOMParser() and innerText. For example, where you're currently sanitizing HTML:
let parser = new DOMParser();
let doc = parser.parseFromString(html, "text/html");
let text = doc.body.innerText;
return text;
This would return just the article body text without having to first load the body content, images, etc to the DOM before sanitizing.
Also to limit the number of articles returned by your API request, take advantage of pagination to set the max article count in the response to 6. For example:
const url = `${hcUrl}/api/v2/help_center/sections/${sectionId}/articles.json?page[size]=6`;
Afficher le commentaire · Publication le 05 déc. 2024 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire
Christopher Kennedy a ajouté un commentaire,
I've created a ticket to work through this issue with you one-on-one. Please look out for my follow-up message from that ticket.
Afficher le commentaire · Publication le 04 déc. 2024 · Christopher Kennedy
0
Abonnés
0
Votes
0
Commentaire