Create forms for collecting user data at runtime
Table of Contents
When creating IntuiFace experiences, it is possible to capture user data at runtime and save it to a persistent data store.
For example, perhaps we would like someone interacting with our experience to be able to enter their first name, last name, e-mail address and additional comments. When the user touches a "Send" button, this information is stored in a persistent way that can then be accessed for future reference.
The first - and preferred - method for capturing user information at runtime is use of the data tracking feature. With data tracking you can log virtually any information about any event - user action, data input, environmental info, e-mail, etc. - that occurs in your experience. Why the preferred method? It's simple, works both on-line and off-line and scalable as it can be used with any number of displays.
In addition to information like 'item selected', data tracking also makes it possible for IntuiFace to identify the habits and demographics of those who use the interactive content. This data can even be collected in an environmental context, meaning you can capture information like location and weather, potential influences on user decisions. Any information accessible on the device can be consumed by IntuiFace.
Another method for capturing user information at runtime is to use a local Excel file. Have a look at the video below to discover how you can leverage the Excel Interface Asset, the Text Input Asset and the IntuiFace binding mechanism to fulfill this need.
When creating an Excel Interface Asset in Composer, the Excel workbook containing the referenced spreadsheet is copied and placed into your project at the following location:
All modifications achieved through the use of the Excel IA's Add row action are applied to this local copy. If you want to retrieve the user data collected at runtime, you need to open the local copy of the Excel workbook, not the original. (The iPad is not very friendly re: browsing its file system for the retrieval of files. To get the Excel workbook off an iPad, see this article.)
Please note that if you have multiple Players deployed, collecting all local Excel files and (manually) collating them into one giant Excel file might be a very tedious, error-prone and time-consuming process. Ergo the first method above using the IntuiFace Data Tracking feature.
If you would like to get your hands on this experience, download the IntuiFace project from here.