Create forms for collecting user data at runtime

Table of Contents

    Introduction

    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.

    Capture User Data Using the IntuiFace "Data Tracking" Feature

    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.

    Architecture_for_intuiface.png

    To see how data tracking works, watch this webinar for a live demo.

    Capture User Data using Excel

    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.

    IMPORTANT NOTE

    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:

    C:\[Project_Path]\[Project_Name]\Files\InterfaceAssets\[Your_File]_xlsx\[Your_File].xlsx

    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.

    Downloading the experience used in the video example

    If you would like to get your hands on this experience, download the IntuiFace project from here.

    Capture User Data Using Your Own Storage Environment

    An IntuiFace-based form can be bound via a Web Service API, .NET dll or Javascript function to any local or cloud-hosted data storage. See this article for details about how to create this kind of connection.