spacer
cornerspacercorner
Reply
Advisor
USDA
Posts: 37
Registered: 06-16-2010
0 Kudos

Adding hyperlink on a button when clicked

We are using V 7.6.  I am opening a new metastorm process/form through a SharePoint link.  When I click on the CANCEL button within the Metastorm form, a message is displayed asking ; "The web page you are viewing is trying to close the window. Do you want to close the window?  Yes or No."  When I click YES, the entire I.E. closes.  When I click NO, I get a blank screen that is hung.  Is there a way to add a custom url links to buttons that will place me back to the original web page when the CANCEL and/or SUBMIT button is clicked?

Esteemed Contributor
Jerome҉
Posts: 744
Registered: 05-18-2010
0 Kudos

Re: Adding hyperlink on a button when clicked

Yoed to be able to add a paramater to the URL something like "&OnSubmitURL=http://....&OnCancelURL=http://....

 

I can no longer find these in the 9.0.2 doco, bit I assume they still exist.

Valued Contributor
Paul
Posts: 146
Registered: 05-19-2010
0 Kudos

Re: Adding hyperlink on a button when clicked

Just beware that CancelURL for external URLs was broken in SR3 and was fixed in hot fix 4

Advisor
USDA
Posts: 37
Registered: 06-16-2010
0 Kudos

Re: Adding hyperlink on a button when clicked

Once a Metastorm 7.6 process form (Metastorm Designer) has been launched through a link within SharePoint, I am able to click on the ‘CANCEL’ button and automatically link to the home web page. (this has been set up within an HTML script (see below). When set for the CANCEL button, it works fine, but, I cannot go to the main web page when I replace (OnCancelURL) with (OnCommitURL) or (OnSubmitURL). Is there another command that will be recognized so that my home page will be displayed when I click on the COMMIT button?
<head>
<title>MyForm</title>
&lt;script type="text/javascript">
function go() {
window.location = 'http://MyServerName/Metastorm/eForm.aspx?Action=Device+Info+Entered&Map=AMS+MultiFunc+Device&Service=Metastorm+BPM+Server&CancelURL=http://MyMainWebPage.aspx';
}
&lt;/script&gt;
</head>
<body onload="setTimeout('go()', 2000)">
<iframe title="AMS Forms Page Viewer" frameborder="0" id="MetastormSSO" name="MetastormSSO" width="100%" height="0" src="http://MyServerName/MetastormSSO/esso.asp?service=Metastorm%20BPM%20Server">
</iframe>
</body>
</html>

Valued Contributor
Paul
Posts: 146
Registered: 05-19-2010
0 Kudos

Re: Adding hyperlink on a button when clicked

Use &LaunchURL=.....

Community Manager
jlsmith
Posts: 758
Registered: 05-08-2010
0 Kudos

Re: Adding hyperlink on a button when clicked

For version 9, this information is found in the Web Client Configuration Guide.

line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line