默认情况下,当非Adobe PDF查看器(如 Chrome 或 Firefox,无法读取PDF/XFA表单的内容。 默认的零页消息如下所示。
AEM Forms 使用Designer版本,可更改“零页”上显示的消息。 要更改“零页”消息,请执行以下步骤:
确保您具有 AEM Forms 安装了Designer的版本。 您可以从设计器的“关于”屏幕中检查版本。
打开要更改“零页”内容的表单。
单击 文件 > 表单属性.
在 表单属性 对话框,单击 (加号图标)来添加自定义属性。
指定 _pagezerocontent 作为属性的名称。
以富文本格式添加新的零页消息作为值。 例如:
<body xmlns="https://www.w3.org/1999/xhtml" xmlns:xfa="https://www.xfa.org/schema/xfa-data/1.0/"><p style="font-family:'Times';font-size:12pt;letter-spacing:0in"><span style="xfa-spacerun:yes"> </code></p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in">You are seeing this message maybe because you are using a non Adobe PDF Viewer or an Old version of Adobe Reader. You can upgrade to the latest version of Adobe Reader for Windows, Mac, or Linux by visiting <span style="xfa-spacerun:yes"> </code>https://www.adobe.com/go/reader_download.</p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in"><span style="xfa-spacerun:yes"> </code></p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in">For more assistance with Adobe Reader visit <span style="xfa-spacerun:yes"> </code>https://www.adobe.com/go/acrreader.</p></body>
将表单另存为PDF。
在浏览器中查看PDF表单,以确认消息已更新。 上述示例值如下所示:
重新打开表单时,您刚刚创建的自定义属性可能无法正确显示在表单属性对话框中。 但是,它运行正常,并且表单会显示更新的“零页”消息。