Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

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

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:

Code Block
<script type="text/javascript">
    AJS.$(document).ready(function() {
      AJS.$('div[id="i_pager_button_f"

 

]').remove();
    });
</script> 
Info

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

...