I'm trying to set up a submission button to redirect to my mobile app on successful submission. The mobile app URI looks something like my-app://
I tested the URI on an IOS simulator in Safari and it opens the app correctly, but when I submit an Orbeon form I'm redirected to the default Orbeon admin view (the one that shows all the form instances). So I assume the redirect failed or the URI wasn't able to be read by Orbeon.
Here's what the property looks like:
<property as="xs:string" name="oxf.fr.detail.process.close.*.*">
relinquish-lease
then navigate(uri = "{xxf:evaluate(xxf:property('props.services-url'))}")
recover summary
</property>
Where props.services-url is set like so:
<property as="xs:string" name="props.services-url">
if (xxf:get-request-parameter('Portal') = 'Web') then 'https://some-website.com'
else if (xxf:get-request-parameter('Portal') = 'Mobile') then 'my-app://'
else ''
</property>
Any help is appreciated, thanks.