Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


Summary

CloudCare Data Preview is a tool that will allow you to view the current state of your form data as you perform form entry. You can view either the XML structure itself with values filled in, or the questions in a pretty UI. Further you can enter XPath's to see how they evaluate against the current XML structure.

Basic Usage

Form entry is performed as usual and you will notice a bar at the bottom of the page that says Data Preview.

Permissions

This feature is only available to users with edit_data permissions.

 

To open data preview, simply click the dark blue bar at the bottom to open it. Below you'll see a screen with the form data shown. This is useful for figuring out calculations on hidden values.

The debugger is also available in live preview upon enabling this feature flag: https://www.commcarehq.org/hq/flags/edit/instance_viewer/

Advanced Usage

In most scenarios, viewing just the form data is enough to get insight on your application. However, Data Preview also offers the ability to query your data as well as view the raw xml of the form.

Evaluate XPath

 

Form XML

  • No labels