For those finding this thread through a search, since this question was cross-posted on Stack Overflow, and a follow-up has already been posted there, please refer to that discussion, and if you'd like please comment as well as on Stack Overflow:
http://stackoverflow.com/questions/43834296/how-can-i-create-a-dynamic-url-to-open-a-new-formAlex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet