无法查看电子邮件中“长文本”字段的任何值

描述 description

环境

  • Campaign Standard

问题/症状

尝试在任何自定义资源(例如从用户档案扩展的表)中创建类型为“长文本”的文本字段时。

发布后,该字段填充有文本,而尝试在电子邮件中显示该字段中的文本时,只能看到此变量<%= context.profile.cusTestMemoField %>.

单击侧边栏上的“data”链接会以JSON格式显示文本,但无法在电子邮件中的任意位置打印此字段的值。

解决方法 resolution

问题出现在使用长文本字段发布cusResource时生成的srcSchemas中。

字段生成为:

<attribute category="99_none" label="longText" name="cusLongText" type="memo"/>

在资源定义中引用了:

<attribute name="cusLongText" template="ext:recipient:recipient/@cusLongText"/>

现在,上述观点是前后一致的,但同样是错误的。

语法正确:

<element category="99_none" label="longText" name="cusLongText" type="memo"/>

引用为:

<element name="cusLongText" template="ext:recipient:recipient/cusLongText"/>
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f