In diesem Abschnitt: |
Wegen der komplexen internen Verarbeitung des ReportCaster unterstützen geplante Prozeduren die folgenden Features nicht.
Die folgenden WebFOCUS-Features sind mit ReportCaster nicht verfügbar, da Sie die Verteilung mehrerer Dateien oder die Integration mit Web- oder Anwendungsserver-Komponenten benötigen.
Wenn Sie Reports verteilen, die aktive Links oder Links zu WebFOCUS-Reports (Drilldowns) enthalten, muss der URL-Kontext vollständig qualifiziert werden und der Benutzer muss eine Verbindung mit dem Web- oder Anwendungsserver haben, um den Report auszuführen oder auf den Inhalt des Links zugreifen zu können. Sie können den Link mit SET FOCHTMLURL- oder SET BASEURL-Befehlen vollständig qualifizieren. Verwenden Sie SET FOCHTMLURL, um auf Ressourcen zuzugreifen, die sich unter dem ibi_apps/ibi_html-Alias befinden. Für nicht-Managed Reporting-Prozeduren verwenden Sie SET BASEURL, um eine Default-Speicherstelle für eine relative URL zu spezifizieren, die auf Dokumente verweist (HTML-Dateien und -Bilder), die von WebFOCUS erstellt wurden. Sie können den Drilldown mit dem SET FOCEXURL-Befehl vollständig qualifizieren.
Um einen Drilldown auf eine WebFOCUS Reporting Serverprozedur vorzunehmen, muss die ursprüngliche Prozedur, die Sie planen, die folgende Befehle enthalten:
SET FOCEXURL=http://hostname[:port]/wf_context_root/WFServlet;
Hierbei gilt:
Ist der Hostname und die optionale Portnummer des Web- oder Anwendungsservers, auf dem der WebFOCUS Client installiert wurde.
Ist die auf die Site angepasste Kontext-Root für die WebFOCUS-Webanwendung, die auf Ihrem Anwendungsserver deployt wird. Der Defaultwert ist ibi_apps.
In der folgenden Abbildung sehen Sie ein Beispiel für einen FOCEXURL-Befehl in einer FEX.
-* FEX that is scheduled and distributed to the Report Library -* Set FOCEXURL value for navigation back to WF Client and MR context -* for execution of drill down request. Must be coded using -* concatenation of so that WF describe (auto prompting) is not invoked -* and also for character encoding within URL to be done correctly. -* Protocol, host and port to WF client. -* Do not use localhost for the host value! -SET &FOCEXURL='http://host:port'; -* -* Call to WF Client. /ibi_apps is the default URL context -* but can be customized -SET &FOCEXURL=&FOCEXURL | '/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps' '&'; -* If report contains a drilldown the next set of lines are also needed. -* Set WF Reporting Server to run request on -SET &FOCEXURL=&FOCEXURL | 'IBIC_server=EDASERVE' | '&'; -* -* Set whether the message viewer feature is ON or OFF. -* When message viewer feature is ON the browser window displaying the -* report will have multiple frames. The top frame displays -* the report and the bottom frame displays any messages returned -* from the WF Server from the report execution. -* Most often utilized during report development or to debug a problem. -SET &FOCEXURL=&FOCEXURL | 'IBIWF_msgviewer=OFF' | '&'; -* -* IBIMR_drill tells WF client subsequent request is a drill down and the -* information after X, is the HREF of the MR domain that the -* drill down FEX -* is located in. In this example 'salesrpt' is the internal -* domain directory and salesrpt.htm is the HTML file -* containing the metadata information for the contents -* within the salesrpt domain. -SET &FOCEXURL=&FOCEXURL | 'IBIMR_drill=X,salesrpt/salesrpt.htm'| '&'; -* -* SET environmental variable FOCEXURL
SET FOCEXURL='&FOCEXURL' -* TABLE FILE CAR SUM CAR.BODY.SALES BY CAR.ORIGIN.COUNTRY BY CAR.COMP.CAR BY CAR.CARREC.MODEL ON TABLE SET STYLE * TYPE=DATA, COLUMN=CAR.ORIGIN.COUNTRY, FOCEXEC=salesrpt/app/carmodel.fex, $ ENDSTYLE ON TABLE SET HTMLCSS ON ON TABLE NOTOTAL END
Das Folgende ist ein Beispiel der Drilldown-FEX, die sich in Managed Reporting befindet.
-* HTML Tool -* Created by Report Assistant -* FF Line do not change this line! Field Name -* FF Line do not change this line! Alias -* FF Line do not change this line! Format -* FF Line do not change this line! Segment -* FF Line do not change this line! displayTree=0 TABLE FILE CAR SUM CAR.SPECS.MPG CAR.SPECS.RPM CAR.BODY.SEATS BY CAR.COMP.CAR BY CAR.CARREC.MODEL BY CAR.BODY.BODYTYPE ON TABLE SET HTMLCSS ON ON TABLE NOTOTAL END -* End Report Assistant
WebFOCUS |