IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    HTMLFORM
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
Posted
I an html page that want to bring into a fex.

I could use

-HTMLFORM FILENAME 


but it doesn't find it since it is not in my path. It is saved in an alais called DD.

I would like this:

-HTMLFORM DD/FILENAME.HTM


However, it doesn't work.

Is there another way?

Fernando


Prod WF 7.13, QA WF 7.13, Dev WF 7.13
 
Posts: 133 | Registered: October 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Fernando,

Try APP MAP and APP PREPEND

APP MAP backup d:\ibi\_backup
APP PREPENDPATH backup
-RUN

-HTMLFORM testbackup


If your file is in a directory in ibi\apps, then the APP MAP is not required.


Francis



Env 1 Prod: WebFOCUS 5.3.2 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server
Env 2 Prod: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2
Env 3 Local: DevStudio 5.3.4 Servlet - Self Service - MS Windows XP SP2 - Apache Tomcat 5.0.28
Output: HTML, Excel 2000 and PDF
 
Posts: 3094 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
Guru
Posted Hide Post
Fernando,

For me this works fine, but the DD directory has to be in the /ibi/apps directory.
If that is not the case, then use Francis' advise and add the directory that contains the htm file as an app directory to your path.


GamP

- Using 764 on WinXP (sp2) - IE7.
- Also available are versions from 534 up to 765 on Windows (XP/2000/2003EE)
 
Posts: 378 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Guys,

APP MAP ... did not work.

I also tried a FILEDEF.

The DD directory is not under ibi_apps.

Fernando


Prod WF 7.13, QA WF 7.13, Dev WF 7.13
 
Posts: 133 | Registered: October 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Fernando,

Did you use the APP PREPENDPATH as well?

An HTMLFORM must be accessible to the reporting server, not the web server. What Gam and Francid told you should work if the location of the form is on the reporting server platform.


Ginny
---------------------------------
Prod: WF 7.6.5 with 7.6.5 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.5 WFRS; AIX 5.2; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1148 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Fernando
can you edit your signature to tell us if you're windows or unix (or what?)
Where is this mythical DD directory?
Is your host html page in MRE?
Run the command
APP SHOWPATH
and look at the results
Is your htmlform somewhere on that path?
If so, you can find it.
If not,then you might want to
APP PREPENDPATH thisDDdir
assuming you have declared a name for it in your edasprof with an APP MAP.




DevStu 766; Unix,Oracle: /// iplanet; Dev 765 tomcat 6;///MRE/BID/PMF
 
Posts: 2465 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
  
APP MAP DD D:\IBI\DD
APP PREPENDPATH DD
-RUN
-HTMLFORM 20070810_DDI


This is what I tried:

D:\IBI\DD\20070810_DDI.HTM is there.

Fernando


Prod WF 7.13, QA WF 7.13, Dev WF 7.13
 
Posts: 133 | Registered: October 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Fernando,

Since this is easily reproducible, I created a DD folder on the D drive of our windows server. I created a file called 20070810_DDI.HTM and put it in the DD folder. I then ran this code and it worked:

APP MAP DD D:\IBI\DD
APP PREPENDPATH DD
-RUN

-HTMLFORM 20070810_DDI


Are you sure that your D drive is accessible by the reporting server?


Francis



Env 1 Prod: WebFOCUS 5.3.2 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server
Env 2 Prod: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2
Env 3 Local: DevStudio 5.3.4 Servlet - Self Service - MS Windows XP SP2 - Apache Tomcat 5.0.28
Output: HTML, Excel 2000 and PDF
 
Posts: 3094 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Francis,

I get this error:

 
ERROR: ERROR_MR_FEX_NOT_FOUND Can't create item object based on provided item key 20070810_DDI.htm. 


I think I'll open a case on this since I have checked everything.

Thanks,

Fernando


Prod WF 7.13, QA WF 7.13, Dev WF 7.13
 
Posts: 133 | Registered: October 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Whenever I run into this error, I check the HTML code to make sure that it is including the proper variable for IBIMR_domain, IBIMR_action, IBIMR_sub_action, IBIMR_fex, IBIF_ex, and IBIMR_folder. It usually has an incorrect domain, folder, or fex name.


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1062 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
Fernando,

You should have mentioned that you're trying this in MRE, it's a whole different ballgame - lacrosse instead of cricket.

This works for me:

APP MAP DD D:\IBI\DD
APP PREPENDPATH DD
-RUN

-HTMLFORM BEGIN
-MRNOEDIT -INCLUDE 20070810_DDI.htm
-HTMLFORM END


Alternatively, I tried the following and it also works, though it's probably not what you need:

Create an MRE fex with this in it:

-HTMLFORM 20070810


Create an MRE HTML file in the same domain called 20070810.

Run the MRE fex - it displays the MRE HTML file.


Francis



Env 1 Prod: WebFOCUS 5.3.2 Servlet - MRE/Dashboard/Self Service/ReportCaster - Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server
Env 2 Prod: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2
Env 3 Local: DevStudio 5.3.4 Servlet - Self Service - MS Windows XP SP2 - Apache Tomcat 5.0.28
Output: HTML, Excel 2000 and PDF
 
Posts: 3094 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Which makes a whole lot more sense now. Any time you -INCLUDE something inside of MRE, it looks for it in the MRE domain as opposed to the server's application path. If you add the -MRNOEDIT it is forced to look in the server app path to find the specified object.


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1062 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Works perfectly Francis!


Prod WF 7.13, QA WF 7.13, Dev WF 7.13
 
Posts: 133 | Registered: October 10, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    HTMLFORM

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.