I have a question that I am hoping someone can help me with.
We have a button in Salesforce that is used for sending an email to the Account team. When you click the button, it loads a page that pre-populates with a Salesforce email template.
I’m able to get the Skuid page working for the email portion, and I am able to get the relevant To, From, CC, etc information from the Case model.
However, I ran into difficulty when I tried this:
- I added a model called EmailTemplate, where the condition is set to a specific email template ID.
- I set the body of the UI Only model (for the email) to lookup that EmailTemplate model and set it to the template body.
- Upon loading the page, I see the template in the body (great!) but it doesn’t handle the Salesforce merge fields
- It looks like this:
This all brings me to my question:
Is there a best way to handle something like this? I’m basically looking to be able to pre-populate the body of an email with contextual information from a case, but I may have several templates I need to work with.
Thanks!