Versions Compared

Key

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

Multiexcerpt include macro
macro_uuid846f10d6-3459-462c-8ce9-b12bb0b90265
nameTechnical Documentation
templateDataeJyLjgUAARUAuQ==
pageCommCare Help Site Design Guidance
addpanelfalse

Every form in a CommCare application can be identified by a unique value called an XMLNS. This value usually looks like a URL starting with "http://openrosa.org/formdesigner/" and is used in various places throughout CommCare - including exports and APIs - to identify the form and corresponding data submissions.

You can find the XMLNS for any given form by opening in a number of ways which should all produce the same result.

In the Application Builder

Open your form in the Application Builder and from the hamburger menu choosing choose "Edit Source XML".  From there look for a variable defined on the <data> XML attribute called "xmlns". You do not want one that has "xmlns:jrm", "xmlns:orx" or any other value.

...

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" ?>
<h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:orx="http://openrosa.org/jr/xforms" xmlns="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa" xmlns:vellum="http://commcarehq.org/xforms/vellum">
	<h:head>
		<h:title>New Form</h:title>
		<model>
			<instance>
				<data xmlns:jrm="http://dev.commcarehq.org/jr/xforms" xmlns="http://openrosa.org/formdesigner/3BAC6D49-D1A2-4D41-A39C-DAA034326670" uiVersion="1" version="1" name="New Form">
					<name />
				</data>
			</instance>
		</model>
	</h:head>
</h:html>

...

From a Form Submission

From the Submit History report, open any form of the type you are trying to look up. In the "Raw XML" tab, look for the same xmlns attribute on the <data> XML tag of the submission.

In Data Exports

Go to your Data exports page and create a new export using the form you are trying to look up. Then look for the URL parameter called "export_tag" in your browser's URL bar.