Aem 如何编辑querybuilder以包含cq:页面

Aem 如何编辑querybuilder以包含cq:页面,aem,jcr,sling,Aem,Jcr,Sling,我创建了一个表单,并将其添加到dam下的GeometricXX gov文件夹中(/content/dam/formsanddocuments/GeometricXX gov),如下图所示 但是,当我转到http://localhost:4502/editor.html/content/geometrixx-gov/en/allforms.html allforms.html页面正在使用querybuilder获取/content/dam/formsanddocuments/geometryxx

我创建了一个表单,并将其添加到dam下的GeometricXX gov文件夹中(
/content/dam/formsanddocuments/GeometricXX gov
),如下图所示

但是,当我转到
http://localhost:4502/editor.html/content/geometrixx-gov/en/allforms.html

allforms.html
页面正在使用
querybuilder
获取
/content/dam/formsanddocuments/geometryxx 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>

问题


如何才能使我添加的表单(DoUsingSchema)也显示在“所有表单”页面中?

您是如何创建DoUsingSchema表单的? 如果表单是使用Forms Manager创建的,则会在两个位置创建节点

  • /content/dam/formsanddocuments//-此节点包含表单的元数据

  • /content/forms/af/-这是具有相同相对层次结构的实际表单

  • 您已将节点从/content/forms/af/[project folder]/[formName]复制到/content/dam/formsanddocuments/[project folder],这是不正确的,表单管理器负责创建这些节点

    要在门户中显示表单,您需要在allforms.html页面中修改应用于表单门户组件的属性谓词。此属性谓词显示以标题“Application For”开头的所有应用程序,您可以更新应用程序标题或更新属性谓词以在表单门户中列出表单

    要在创作模式下打开“属性”对话框,请单击位于搜索框最左侧位置的搜索图标