Skip to main content

When using HAPI, how do I find what fields are available to use?

Updated over 3 years ago

When writing your HAPI statement, add a new command data-pv-object="<name>" to the outer call.  This will then output a new javascript object on the page called <name> (or what ever you replace it with).  You can then go into the console on your web browser (typically developer tools, F12, inspect element) and type the new object's name to display properties.

Did this answer your question?