Skip to content

Instantly share code, notes, and snippets.

@pwin
Created March 12, 2013 12:03
Show Gist options
  • Save pwin/5142371 to your computer and use it in GitHub Desktop.
Save pwin/5142371 to your computer and use it in GitHub Desktop.
in an XForm submission - adding a variable value to a querystring to overcome caching etc
<xf:submission id="s2" method="get" replace="instance" targetref="instance('list')">
<xf:resource value="concat('/exist/rest/db/apps/stats21/views/report-view.xquery?t=',substring(string(digest( string( random( true ) ), 'MD5', 'hex' )), 1, 8))"/>
</xf:submission>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment