July 22, 2008, 03:56 PM
FernandoHTMLFORM
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 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
July 22, 2008, 04:31 PM
Francis MarianiFernando,
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
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
July 23, 2008, 05:57 AM
GamPFernando,
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 AS 8.2.01 on Windows 10 - IE11. |
| in Focus since 1988 |
July 23, 2008, 10:04 AM
FernandoGuys,
APP MAP ... did not work.
I also tried a FILEDEF.
The DD directory is not under ibi_apps.
Fernando
Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
July 23, 2008, 10:23 AM
GinnyJakesFernando,
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.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 23, 2008, 01:49 PM
susannahFernando
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.
| In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID |
July 23, 2008, 01:54 PM
Fernando
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 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
July 23, 2008, 02:08 PM
Francis MarianiFernando,
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
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
July 23, 2008, 02:30 PM
FernandoFrancis,
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 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
July 23, 2008, 02:47 PM
Darin LeeWhenever 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
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
July 23, 2008, 03:28 PM
Francis MarianiFernando,
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
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
July 23, 2008, 04:15 PM
Darin LeeWhich 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
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
July 23, 2008, 04:35 PM
FernandoWorks perfectly Francis!
Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03