Playground and DEMO space
This is a playground and demo space for ConfiForms and ConfiDoc addons developed and supported by Vertuna LLC
Most pages provide a storage format for the demo, so you can use the free add-on from Atlassian Confluence Source Editor (or through the bundled in ConfiForms storage editor) to import this configuration into your Confluence and see it in action
To import examples from the storage format on Confluence Cloud please see this page
Please note, all the examples here are provided without any obligation and may or may not be incomplete or may have bugs, and we provide NO SUPPORT for these examples and demos.
This page demonstrates how to use REST API#Getformdefinition to show form definition / configuration details
We have a form configured on this page
Form Configuration
Dynamically looked up from the form via REST API
Editor
The code
<script type="application/javascript"> AJS.toInit(function() { var isPageEdit = AJS.$('#content').hasClass('page edit'); if (!isPageEdit) { var url = 'https://wiki.vertuna.com/ajax/confiforms/rest/definition.action?pageId=60228753&f=f'; var xhr = AJS.$.ajax({ url: url, timeout: 10000, // 10 sec success: function (data) { AJS.$('#codeBlock').find('pre').html(JSON.stringify(data, null, 4)); }, error: function (jqXHR, textStatus, errorThrown) { console.log('request to get data from ConfiForms has failed... ' + textStatus); } }); } }); </script>