Popular Help Content

No popular content.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Often it is useful to have access to certain system data, such as username, case id, or the unique device id, from within form entry. This can be achieved via the CommCare session instance.


Table of Contents

Device Data

TypePathDetails
device idinstance('commcaresession')/session/context/deviceidThe unique ID for the entering device
usernameinstance('commcaresession')/session/context/usernameThe username of the user entering data
user idinstance('commcaresession')/session/context/useridThe GUID of the user entering data
app versioninstance('commcaresession')/session/context/appversionThe identifier for the software application version performing form entry

...