1 Reply Latest reply on Aug 25, 2016 3:41 AM by RobertBailey2017

    How to add AEM 6.2 Form to AEM Eclipse project , or how to “transfer” AEM 6.2 Form from Server to Eclipse

    RobertBailey2017 Level 1

      Hi All,

      What is the best method or practise for adding an AEM 6.2 Form to an AEM 6.2 Eclipse project ?

      Is it possible to “transfer” an AEM Form from a Server into Eclipse ?

      For example, I have created a simple “Hello Form” using the Server’s AEM Forms interface (http://localhost:4502/aem/forms).

      This creates the following paths on in the content repository :-

          /content/forms/af/HelloForm
          /content/dam/formsanddocuments/HelloForm

      If I create a package, add these two paths in the Edit Package Filters tab, build the package, and download the package, then I have the following files :-

          ./jcr_root/.content.xml
          ./jcr_root/content/.content.xml
          ./jcr_root/content/dam/.content.xml
          ./jcr_root/content/dam/formsanddocuments/.content.xml
          ./jcr_root/content/dam/formsanddocuments/HelloForm/.content.xml
          ./jcr_root/content/dam/formsanddocuments/HelloForm/_jcr_content/renditions/cq5dam.thumbna il.140.100.png
          ./jcr_root/content/dam/formsanddocuments/HelloForm/_jcr_content/renditions/cq5dam.thumbna il.319.319.png
          ./jcr_root/content/dam/formsanddocuments/HelloForm/_jcr_content/renditions/cq5dam.thumbna il.48.48.png
          ./jcr_root/content/forms/.content.xml
          ./jcr_root/content/forms/af/.content.xml
          ./jcr_root/content/forms/af/HelloForm/.content.xml
          ./META-INF/vault/config.xml
          ./META-INF/vault/definition/.content.xml
          ./META-INF/vault/filter.xml
          ./META-INF/vault/nodetypes.cnd
          ./META-INF/vault/properties.xml    

      However, the following is EXCLUDED from the package :-

          ./jcr_root/content/forms/af/HelloForm/guideContainer/layout
          ./jcr_root/content/forms/af/HelloForm/guideContainer/rootPanel/layout
          ./jcr_root/content/forms/af/HelloForm/guideContainer/rootPanel/items/guidetextdraw
          ./jcr_root/content/forms/af/HelloForm/cq:responsive/breakpoints/smallScreen
          ./jcr_root/content/forms/af/HelloForm/cq:responsive/breakpoints/phone
          ./jcr_root/content/forms/af/HelloForm/cq:responsive/breakpoints/tablet

      What is the best method or practise for adding an AEM Form to an AEM Eclipse project ?

      Is it possible to “transfer” an AEM Form from a Server into Eclipse ?

      Thanks,

      Robert