Enterprise Forms: Data Perspective - 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.

15-12-2015

Enterprise Forms: Data Perspective

Storing form data

To have your form store submitted data in the content repository, add the Store Form Data pluggable behavior.

Enabling the data perspective

Starting from version 10.2 you can skip this step since the perspective is added by default.

Add the perspective to your cms-static ( /hippo:configuration/hippo:frontend/cms/cms-static/).

<?xml version="1.0" encoding="UTF-8"?>
<sv:node sv:name="eformsPerspectiveLoader"
         xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>frontend:plugin</sv:value>
  </sv:property>
  <sv:property sv:name="cluster.name" sv:type="String">
    <sv:value>cms-eforms-perspective</sv:value>
  </sv:property>
  <sv:property sv:name="plugin.class" sv:type="String">
    <sv:value>
      org.hippoecm.frontend.plugin.loader.PluginClusterLoader
    </sv:value>
  </sv:property>
</sv:node>

 

And you will get a new perspective!

Screenshot:

 

 

You can export saved form data to a CSV file. By default, rows/records are terminated by newlines ( \r\n). Newlines terminator can be configured by adding a new string property named:

lineTerminator

 within following node:

/hippo:configuration/hippo:frontend/cms/cms-eforms-perspective/editor

For example:

 <sv:property sv:name="lineTerminator" sv:type="String">
    <sv:value>\n</sv:value>
  </sv:property>
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?