Audit via confiForms
Asked by Michael K?ng:

Hey everbody,

May someone have an idea with the **_event** field is not showing up in the tableview? Since confiForms **2.5.2** it should be possible to access this field in the **_log** form.


Answers:
author: Michael K?ng
body: Source code of an example

*** ** * ** ***

\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<ac:structured-macro ac:macro-id="413378fe-ca47-4e29-90b5-75bf40d9df6c" ac:name="confiform" ac:schema-version="1"\>  
\<ac:parameter ac:name="formName"\>test\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<ac:structured-macro ac:macro-id="eba56f39-2bf0-4d82-a632-44f75e26fa4f" ac:name="confiform-field-definition" ac:schema-version="1"\>  
\<ac:parameter ac:name="fieldName"\>test\</ac:parameter\>  
\<ac:parameter ac:name="fieldLabel"\>test\</ac:parameter\>  
\<ac:parameter ac:name="type"\>text\</ac:parameter\>  
\<ac:parameter ac:name="required"\>true\</ac:parameter\>  
\</ac:structured-macro\>  
\</p\>  
\<ac:structured-macro ac:macro-id="d3072389-d65e-4e11-b696-5c36695f0ef8" ac:name="confiform-ifttt" ac:schema-version="1"\>  
\<ac:parameter ac:name="action"\>Audit\</ac:parameter\>  
\<ac:parameter ac:name="event"\>onDeleted\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<br/\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<ac:structured-macro ac:macro-id="26cb2fd3-9f59-4cdb-97bb-56bd9498d09f" ac:name="confiform-ifttt" ac:schema-version="1"\>  
\<ac:parameter ac:name="action"\>Audit\</ac:parameter\>  
\<ac:parameter ac:name="event"\>onCreated\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<br/\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<ac:structured-macro ac:macro-id="521f3969-fa35-4498-a2b8-33067dfd2b4d" ac:name="confiform-entry-register" ac:schema-version="1"\>  
\<ac:parameter ac:name="formName"\>test\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<br/\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<p class="auto-cursor-target"\>_______________________ table:\</p\>  
\<ac:structured-macro ac:macro-id="5c6223ed-cca7-47dc-9d6d-7fdc486322a5" ac:name="confiform-table" ac:schema-version="1"\>  
\<ac:parameter ac:name="formName"\>test\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<br/\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>  
\<p class="auto-cursor-target"\>_______________________ log:\</p\>  
\<ac:structured-macro ac:macro-id="e564ab90-1649-4b9e-aee6-079e2ac70953" ac:name="confiform-table" ac:schema-version="1"\>  
\<ac:parameter ac:name="formName"\>test_log\</ac:parameter\>  
\<ac:parameter ac:name="debugMode"\>true\</ac:parameter\>  
\<ac:rich-text-body\>  
\<p\>  
\<ac:structured-macro ac:macro-id="e3cefbac-3800-405c-9d62-56ed57f46f14" ac:name="confiform-field" ac:schema-version="1"\>  
\<ac:parameter ac:name="fieldName"\>test\</ac:parameter\>  
\</ac:structured-macro\>  
\</p\>  
\<p\>  
\<ac:structured-macro ac:macro-id="763e2c08-bfea-4bb1-84ba-aed674418166" ac:name="confiform-field" ac:schema-version="1"\>  
\<ac:parameter ac:name="fieldName"\>_event\</ac:parameter\>  
\</ac:structured-macro\>  
\</p\>  
\</ac:rich-text-body\>  
\</ac:structured-macro\>  
\<p class="auto-cursor-target"\>  
\<br/\>  
\</p\>

comments: author: Alex Medved _ConfiForms_
body: Sorry, this seems to be an unfortunate regression we will fix ASAP


Tags: audit

cloud

confiforms

confluence-cloud