This is totally a nice to have as there are different ways to solve for this, but I think it would be pretty cool to see in the platform. The idea is to have a global merge function tag similar to {{#urlEncode}}{{companyName}}{{/urlEncode}} that would handle the skuid.utils.merge() function. For example:
{{#merge}}{{Body}}{{/merge}} where the body field may have merge syntax in it like:
Hello {{Name}}, here’s what you need to do next on case {{CaseNumber}}.
What this would support is the ability to move contextual template content into data, making it more re-usable and self service. The best comparison of existing capability is the message template structure in Salesforce behind the Email environment where you can add fields to the subject and message body.
Where this could get really exciting would be to apply this to a web experience where contextual information is served up from a data store rather than handling it all in the page builder with templates, text components, etc. Then when there’s a minor text change you can simply update the record and you’re done. It would effectively enable CMS type extensibility to the platform.
Add merge processor to global merge variables
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.