2015-04-30 30 views
1

我創建了一個形式和水壩(/content/dam/formsanddocuments/geometrixx-gov)下geometrixx政務文件夾中增加一條,作爲下面如何編輯的QueryBuilder到包括CQ:

enter image description here

然而,這種形式顯示的圖像中當我去時http://localhost:4502/editor.html/content/geometrixx-gov/en/allforms.html

allforms.html頁面正在使用querybuilder來獲取/content/dam/formsanddocuments/geometrixx-gov中的所有表單。下面是從頁

 <querybuilder 
      jcr:created="{Date}2014-02-17T22:47:37.361+05:30" 
      jcr:createdBy="admin" 
      jcr:lastModified="{Date}2014-03-28T17:52:05.245+05:30" 
      jcr:lastModifiedBy="admin" 
      jcr:primaryType="nt:unstructured" 
      sling:resourceType="fd/fp/components/querybuilder" 
      customStylePath="/etc/designs/geometrixx-gov/form_portal_default.css" 
      customTemplate="/etc/designs/geometrixx-gov/fp/card/template.html/jcr:content" 
      disableSearch="true" 
      folderPaths="/content/dam/formsanddocuments/geometrixx-gov" 
      portalTitle="All Forms" 
      renderType="[PDF,HTML,GUIDE]" 
      singleView="Card" 
      style="Custom Style" 
      viewSwitch="true"> 
      <view 
       jcr:primaryType="nt:unstructured" 
       sling:resourceType="fd/fp/components/lenses/view"/> 
      <textbar 
       jcr:primaryType="nt:unstructured" 
       sling:resourceType="fd/fp/components/predicates/textbar"/> 
      <left 
       jcr:primaryType="nt:unstructured" 
       sling:resourceType="foundation/components/parsys"> 
       <propertiespredicate 
        jcr:created="{Date}2014-03-28T17:45:35.478+05:30" 
        jcr:createdBy="admin" 
        jcr:lastModified="{Date}2014-03-28T17:50:01.642+05:30" 
        jcr:lastModifiedBy="admin" 
        jcr:primaryType="nt:unstructured" 
        sling:resourceType="fd/fp/components/predicates/propertiespredicate" 
        searchOptionsPredicates="\{&quot;preducateType&quot;:&quot;title&quot;,&quot;statusFilter&quot;:&quot;active&quot;,&quot;captionText&quot;:&quot;Title&quot;,&quot;defaultFilter&quot;:&quot;&quot;,&quot;enabled&quot;:true}" 
        title="Properties"/> 
      </left> 
      <searchAssets 
       jcr:primaryType="nt:unstructured" 
       sling:resourceType="fd/fp/search"/> 
     </querybuilder> 

問題

我能做到這一點查詢,使我增加了表格(DORUsingSchema)也是在一切形式頁面顯示出來?

回答

0

你是如何創建DORUsingSchema表單的? 如果使用Forms Manager創建窗體 - http://localhost:4502/aem/forms.html/content/dam/formsanddocuments在兩個位置創建節點。

  1. /content/dam/formsanddocuments // - 此節點包含表單的元數據。

  2. /content/forms/af // - 這是具有相同相對層級的實際形式。

您已從/內容/表格/ AF/[項目文件夾]/[表格名稱]到/內容/大壩/ formsanddocuments/[項目文件夾]這是不正確複製節點,表格經理打理創建這些節點。

要在您的門戶中顯示錶單,您需要修改在allforms.html頁面中的表單門戶組件上應用的屬性謂詞。此屬性謂詞顯示以標題「Application For」開頭的所有應用程序,您可以更新應用程序標題或更新屬性謂詞以在表單門戶中列出您的表單。

要在創作模式下打開屬性對話框,請單擊位於搜索框最左邊位置的搜索圖標。