I want to limit the Products displayed in one form of my app to only those from one Program. Where and how can I see what a Program's ID is to that I can use it in the display logic? All HQ shows me is a Program's name, not ID.

1 Answer 1


The easiest way to determine the program ID is open the program edit page on CommCare HQ and pull the ID from the URL (it is the long set of characters at the end of the url not including the slash).

A more general answer whenever you need to inspect or reference CommCare data being sent to a device is to view the user restore sent to the device. This would show you the XML-formatted list of program data (which is represented as a CommCare fixture) and show you the IDs you need associated with each program.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.