Page tree
Skip to end of metadata
Go to start of metadata

This is the documentation for ConfiForms Server/Data Center app


You can create a link to particular ConfiForms entry if you know it's internal ID (guid)

This could be done by configuring a pager property for one of the views macros: TableView, ListView or CardView

And this is how it looks like when pager is in-use (here we use CardView)

Now you can have links that reference this page and have "cf_id" request parameter which is set to ConfiForms entry id

In our case to reference (show) the second item we needed to have the following url

http://localhost:1990/confluence/display/ds/cardview+with+pager?cf_id=00ac3c3f-447b-492a-bb10-71a75a622279

We set the "cf_id" parameter in the URL

If you have other parameters already present in the the URL then add this with an & to your existing parameters &cf_id=00ac3c3f-447b-492a-bb10-71a75a622279

Example: http://localhost:1990/confluence/pages/viewpage.action?pageId=1212624&cf_id=00ac3c3f-447b-492a-bb10-71a75a622279


If you want to hide the Pager element you need this custom JavaScript to be added to the page:

<script type="text/javascript">
    AJS.$(document).ready(function() {
      AJS.$('div[id="i_pager_button_f"]').hide();
    });
</script> 

Important note: i_pager_button_f is a dynamic value and consist of static prefix ("i_pager_button_") followed by the name of the ConfiForms form. In this example the form name is "f"


Or to remove the element completely from HTML document:

<script type="text/javascript">
    AJS.$(document).ready(function() {
      AJS.$('div[id="i_pager_button_f"]').remove();
    });
</script> 

Links to entries will also work, when you add the ConfiForms Viewer macro into your "view". Creating links to ConfiForms Entry Viewer to fire an action

And what is best about the Entry Viewer is that this enables you to show the editable or readonly view of the data entry

  • No labels