Focal Point
dashboard:what is the exact form of a url to a .htm
September 18, 2009, 01:23 PM
Mike Johnsondashboard:what is the exact form of a url to a .htm
Dlogan, I did what you suggested and No MR_COOKIE is listed. I tried it several times.
September 18, 2009, 01:28 PM
Mike JohnsonOK, Not sure why. I tried again and it listed the cookie this time. I guess I was doing it in the wrong order.
I'm still having trouble accessing the HTML page from within MRE. I've tried using the
URL:
HTMLPage for my redirect page.
But it asked me to save the file instead on displaying it.
September 22, 2009, 09:21 AM
Mike JohnsonOK. I have found a work around. Admin group is working on a solution. Once I hear from them I will post what they come up with.
My work around.
Instead of using the parameters I wrote a javascript procedure
function button3_OnClick(ctrl) {
// TODO: Add your event handler code here
Cont=document.getElementById('edit1');
if (Cont.value == "")
{
alert(msgtxt = "You must provide a Contract ID.");
return false;
}
else
{
defer = false;
parent.report1.location="http://dotscomrep1.co.dot.state.fl.us/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&IBIC_server=WFWINP1&IBIAPP_app=custom&&IBIMR_drill=X,dococns1/dococns1.htm&IBIF_ex=app/dwr__lis%2Efex&CLICKED_ON=&AUTH2=FOC_NONE&CONT="+Cont.value;
}
}
that simply executes the following url [URL=http://dotscomrep1.co.dot.state.fl.us/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&IBIC_server=WFWINP1&IBIAPP_app=custom&&IBIMR_drill=X,dococns1/dococns1.htm&IBIF_ex=app/dwr__lis%2Efex&CLICKED_ON=&AUTH2=FOC_NONE&CONT="+Cont.value;]Calls Report[/URL] to execute the fex procedure.
I use this url
Call HTML Page to call the HTML page.
I still have some issues to work out for example how to call a fex procedure and defer it using a URL. And I also have some help files with images I need to figure out how to refer to the images outside of mre.
Thanks for all your suggestion and ideas.
September 22, 2009, 04:39 PM
Dan PinaultMike,
I know this is going to seem like a silly question but I just have to ask. Why are you trying to run a page in MRE from outside MRE? Isn't the user security thing the basic premise for the MRE? Can you put your page in one of the Application Directories on the data server? That would eliminate the security issue would it not?
Dan
7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
September 23, 2009, 11:14 AM
Mike JohnsonYes it would, I don't have access to the server. Only our MRE Admin have access to the server. This was a request from our users. We have a .net application which provides about 95% of the user needs but does not have any reports, they wanted us to link to the reports on the dashboard which we are doing but we had one report where we needed to link to the HTML page instead due to the # of parameters needed. Thanks for the interest.
September 28, 2009, 02:29 PM
Francis MarianiI made a comment on the Tech Support site regarding
Redirect MR Developer users to a specific page after logon, stating that a complete example would be a good idea to have included in the Tech Support "technique". They only mention that a parameter called "SIGNON_CRT_DOM_ADMIN" needs to be included on the login form.
Later, Tech Support sent me some example code which contains code I have never used before. Here it is:
<html>
<head>
<title>Developer Signon</title>
</head>
<body>
<font size=4>
<form name="form" action="/ibi_apps/WFServlet">
<p> UserID :
<input type="text" name="IBIMR_user" value="">
<p>PassWord :
<input type="password" name="IBIMR_pass" value="">
<p>
<input type=submit name="submit" value="Submit">
<input type=reset name="reset" value="Reset">
<input type="hidden" name="IBIMR_action" value="MR_SIGNON">
<input type="hidden" name="SIGNON_CORRECT"
value="http://www.cnn.com/?SIGNON_CORRECT">
<input type="hidden" name="SIGNON_CORRECT_ADMIN"
value="http://www.cnn.com/?SIGNON_CORRECT_ADMIN">
<input type="hidden" name="SIGNON_INCORRECT"
value="http://www.cnn.com/?SIGNON_INCORRECT">
<input type="hidden" name="SIGNON_CRT_DOM_ADMIN"
value="http://www.cnn.com/?SIGNON_CRT_DOM_ADMIN">
<input type="hidden" name="IBIMR_random" value="">
<script>
document.form.IBIMR_random.value = Math.random();
</script>
</font>
</body>
</html>
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 28, 2009, 02:47 PM
dloganFrancis,
Just so you know, those can be passed as either hidden form variables, or can be entered within site.wfs logic to control the behavior.
e.g.
SIGNON_CORRECT=http://www.google.com
Both syntax options also supports relative URL's.
e.g.
SIGNON_CORRECT=/ibi_apps/wfsysinf.jsp
Also, all of those parameters will show up in the tail end of a WFServlet trace if you're wondering where it is that someone grabbed them from.
Thanks,
Doug Logan
WF 71.x, 76.x, 7701, 8.0 Beta OS: Linux, Win2k3, Win2k, Win2k8, WinXP
September 28, 2009, 03:12 PM
Francis MarianiThanks Doug, that clarifies things a bit.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 12, 2013, 02:49 PM
j.grossThat's for MR.
Can someone tell me the form of a url to invoke a non-MR launch page?
November 12, 2013, 03:10 PM
Francis MarianiWhere is the non-MR launch page located?
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 12, 2013, 08:01 PM
j.grossOn WFRS, in some APP folder. To be accessed from within the client's intranet.
November 13, 2013, 05:11 AM
Tom FlynnWe use a Guest ID/Password:
<html>
<head>
<script>
function newURL()
{
window.location.href="https://YOUR_IP_ADDRESS/ibi_apps/WFServlet?IBIWF_action=WF_SIGNON&IBIC_user=GUEST_ID_HERE&IBIC_pass=***********&WF_SIGNON_MESSAGE=https://YOUR_IP_ADDRESS/approot/public_reports/Program.htm";
}
</script>
</head>
<body onload="newURL[)">
</body>
</html>
hth
Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
November 13, 2013, 10:08 AM
Francis MarianiSome installations use different servers - the URL in Tom's post works for files that are on the web server, not the reporting server. I'm not sure how to reference an html file on the reporting server. Perhaps the quickest method is to run a fex that uses -HTMLFORM filename.htm to include the html file.
http://localhost:8080/ibi_apps/WFServlet?IBIC_user=&IBIC_pass=&IBIC_server=&IBIF_ex=dummy1&IBIAPP_app=test&IBIF_parms=
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 13, 2013, 11:51 AM
Tom FlynnHi Francis,
It's not a web server, it is the reporting server. I took out the :8080...My Bad!
Users click on the link in the Luminus portal, which, calls the htm in the apps/public_reports folder...
FYI...
Tom
Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
November 13, 2013, 02:54 PM
Francis MarianiTom, the 8080 is mine, not yours, so no Bad on your part.
But I still can't get it to work. I tried your URL (with or without without 8080).
I start with this:
http://localhost:8080/ibi_apps/WFServlet?IBIWF_action=WF_SIGNON&IBIC_user=admin&IBIC_pass=admin&WF_SIGNON_MESSAGE=http://localhost:8080/approot/test/dummy1.htm
The web browser address changes to this:
http://localhost:8080/approot/test/dummy1.htm?IBIxdum=0.1869789908830345
with this Apache Tomcat error:
HTTP Status 404 - /approot/test/dummy1.htm - The requested resource (/approot/test/dummy1.htm) is not available. If I try this:
http://localhost:8080/ibi_apps/WFServlet?IBIWF_action=WF_SIGNON&IBIC_user=admin&IBIC_pass=admin&WF_SIGNON_MESSAGE=http://localhost/approot/test/dummy1.htm
The web browser address changes to this:
http://localhost/approot/test/dummy1.htm?IBIxdum=0.7852779287730152
with this Internet Explorer error:
Internet Explorer cannot display the webpage Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 13, 2013, 04:33 PM
Tom FlynnHi Francis, this works great for us.
We are on the Luminous portal, the URL is:
<a href="https://OUR_SERVER/approot/public_reports/stu_crssectscan.htm" target="_new"><img alt="web page bullet" src="tag.idempotent.worker.carRsrc.target.u14l1n76.uP?carRsrc=com/sct/banner/portals/ui/wi_ssmenu/media/web_cp_form.gif" border="0" height="16" width="18"><span class="uportal-text">(105) Course Section Scan</span></a>
Then, the code in public_report/stu_crssectscan.htm is:
<html>
<head>
<script>
function newURL()
{
window.location.href="https://OUR_SERVER/ibi_apps/WFServlet?IBIWF_action=WF_SIGNON&IBIC_user=wf_guest&IBIC_pass=*********&WF_SIGNON_MESSAGE=https://OUR_SERVER/approot/public_reports/stu_crssectscan_page.htm";
}
</script>
</head>
<body onload="newURL()">
</body>
</html>
The stu_crssectscan_page.htm gives the user the parameter page...
Should be generic, but, guess not if you are having issues...
Tom
Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
November 13, 2013, 06:28 PM
Francis MarianiIs public_reports a folder on the reporting server? Perhaps this folder is used by both the reporting server and the web server...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 14, 2013, 06:48 AM
Tom FlynnThe folder is on the Reporting Server...
Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe