CMS Configuration - BloomReach Experience - Open Source CMS

This article covers a Hippo CMS version 10. There's an updated version available that covers our most recent release.

12-05-2015

CMS Configuration

After having installed the correct dependencies, you are recommended to add an Enterprise Forms content folder to the bootstrap content.

This eforms folder structure '/content/eforms/templates/fieldgroups' is where reusable field group templates are stored. If a field group is created in a form, it can be saved as field group template using the disk icon in the right top corner. Then the field group becomes available for any form in the right hand side section "Add a Reusable Group". 

This content structure is autocreated so it's not a must to have it in the bootstrap content. If you don't, the Enterprise Forms' tree section will reference a non-existing path as long as reusable field groups aren't saved.

So if you want reusable field groups to be bootstrapped, add an initialize item to the hippoecm-extension.xml of the content bootstrap module, for instance:

<sv:node sv:name="myhippoproject-content-eforms">
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>hippo:initializeitem</sv:value>
  </sv:property>
  <sv:property sv:name="hippo:sequence" sv:type="Double">
    <sv:value>31404.9</sv:value>
  </sv:property>
  <sv:property sv:name="hippo:contentresource" sv:type="String">
    <sv:value>content-eforms.xml</sv:value>
  </sv:property>
  <sv:property sv:name="hippo:contentroot" sv:type="String">
    <sv:value>/content</sv:value>
  </sv:property>
</sv:node> 

The minimal contents of content-eforms.xml:

<?xml version="1.0" encoding="UTF-8"?>
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="eforms">
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>eforms:folder</sv:value>
  </sv:property>
  <sv:property sv:multiple="true" sv:name="hippostd:foldertype" sv:type="String"/>
  <sv:node sv:name="templates">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>eforms:folder</sv:value>
    </sv:property>
    <sv:property sv:multiple="true" sv:name="hippostd:foldertype" sv:type="String"/>
    <sv:node sv:name="fieldgroups">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
        <sv:value>eforms:folder</sv:value>
      </sv:property>
      <sv:property sv:multiple="true" sv:name="hippostd:foldertype" sv:type="String">
        <sv:value>new-eform-fieldgroup</sv:value>
      </sv:property>
      <!-- add project's field group templates here -->
    </sv:node>
  </sv:node>
</sv:node>

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?