在Designer中更改零页内容

当非Adobe PDF查看器(如中的默认PDF查看器)时,默认显示“零页”内容 Chrome 或 Firefox无法读取PDF/XFA表单的内容。 默认的Page Zero消息如下所示。

defaultpage0message

AEM Forms 版本Designer允许您更改显示在第0页上的消息。 要更改Page Zero消息,请执行以下步骤:

  1. 确保您拥有 AEM Forms 已安装Designer版本。 您可以从设计器的“关于”屏幕中检查版本。

  2. 打开要为其更改“页面零”内容的表单。

  3. 单击 文件 > 表单属性.

  4. 在 表单属性 对话框,单击 加 (加号图标)以添加自定义属性。

  5. 指定 _pagezerocontent 作为资产的名称。

  6. 以富文本格式添加新的“页面零”消息作为值。 例如:

    <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_cn.</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>

  7. 将表单另存为PDF。

  8. 在浏览器中查看PDF表单,确认消息已更新。 上面的示例值如下所示:

    changed消息

注意

重新打开表单时,您刚刚创建的自定义属性可能无法正确显示在表单属性对话框中。 但是,它可以正常使用,并且表单会显示更新后的页面零信息。

在此页面上