KamoCRM

Re-render templates client-side with real data in email preview

Fixkamo-internal
Dikirim
18 Maret 2026 pukul 19.26 UTC
Penulis
kamo
Berkomitmen
50fc874

The preview was showing placeholder text ({{member.firstName}} etc.) because it used the pre-rendered placeholder HTML from the backend. Now the MessageTool: - Fetches the template config from backend and maps it to SignatureConfig - Fetches live member profile + org data via useSignatureData hook - Resolves actual image URLs via useImageResolver hook - Re-renders header and signature HTML client-side using the template render functions with real member/org data - Shows accurate preview with actual names, emails, logos, and styling

Semua perubahan

Seperti apa yang Anda lihat pengiriman?

Semua itu tiba di ruang kerjamu sendiri. Mulailah dengan rencana gratis dan baca halaman ini lagi dalam sebulan.

Mulai Bebas SelamanyaTampilkan Harga