|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Platinum Member |
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 |
||
|
|
Expert |
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: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4 Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000 Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2 Output formats: HTML, Excel 2000 and PDF |
|||
|
|
Master |
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
|
|||||
|
|
Platinum Member |
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 |
|||
|
|
Virtuoso |
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.6 WFRS; AIX 5.2; WebSphere 6.1.0.15 Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15 Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable |
|||
|
|
Expert |
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.
|
|||||
|
|
Platinum Member |
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 |
|||
|
|
Expert |
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: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4 Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000 Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2 Output formats: HTML, Excel 2000 and PDF |
|||
|
|
Platinum Member |
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 |
|||
|
|
Virtuoso |
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 |
|||
|
|
Expert |
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: WebFOCUS 5.3.2 Servlet - MRE/BID/Self Service/ReportCaster - MS Windows Server 2003 - IIS/New Atlanta ServletExec - MS SQL Server 2000 - DataMigrator 5.3.4 Env 2: WebFOCUS 7.6.5 Servlet - MRE/BID/Self Service - MS Windows XP SP2 - Apache Tomcat/5.5.25 - MS SQL Server 2000 Env 3: WebFOCUS 5.3.3 CGI - Self Service - AIX 5.2 - IBM DB2 Output formats: HTML, Excel 2000 and PDF |
|||
|
|
Virtuoso |
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 |
|||
|
|
Platinum Member |
Works perfectly Francis!
Prod WF 7.13, QA WF 7.13, Dev WF 7.13 |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

