更改設計器中的頁面零內容

當非Adobe PDF檢視器(例如Chrome或Firefox中的預設PDF檢視器)無法讀取PDF/XFA表單的內容時,預設會顯示「頁面零」內容。 預設的Page Zero訊息如下所示。

defaultpage0message

AEM Forms Feature Pack 1版設計工具可讓您變更頁面零上顯示的訊息。 要更改「零頁」消息,請執行以下步驟:

  1. 確認已安裝AEM Forms Feature Pack 1版Designer。 您可以從設計工具的「關於」畫面中檢查版本。

  2. 開啟您要變更「頁面零」內容的表單。

  3. 按一下「檔案>表單屬性」。

  4. 在「表單屬性」對話方塊中,按一下加號(加號圖示)以新增自訂屬性。

  5. 指定​_pagezerocontent​作為屬性的名稱。

  6. 以RTF格式新增「頁面零」訊息作為值。 例如:

    <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"> </span></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"> </span>https://www.adobe.com/go/reader_download.</p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in"><span style="xfa-spacerun:yes"> </span></p><p style="font-family:'Times';font-size:12pt;letter-spacing:0in">For more assistance with Adobe Reader visit <span style="xfa-spacerun:yes"> </span>https://www.adobe.com/go/acrreader.</p></body>

  7. 將表單儲存為PDF。

  8. 在瀏覽器中檢視PDF表單,確認訊息已更新。 上述範例值顯示如下:

    changedmessage

注意

當您重新開啟表單時,您剛建立的自訂屬性可能無法在「表單屬性」對話方塊中正確顯示。 不過,此功能正常運作,表單會顯示更新的「頁面零」訊息。

本頁內容