Limitações para o Uso dos Recursos do WebFOCUS

Nesta seção:

Devido ao complexo processamento interno do ReportCaster, procedimentos agendados não suportam os recursos a seguir.

Os recursos do WebFOCUS a seguir não se encontram disponíveis para o ReportCaster, pois necessitam de distribuição de diversos arquivos ou integração com componentes do servidor de aplicativo ou da web.


Topo da página

x
Como Utilizar os Comandos SET para Acessar Links Dinâmicos e Buscas Detalhadas

Ao distribuir relatórios que contêm links dinâmicos para relatórios WebFOCUS (Buscas Detalhadas), o contexto da URL deve ser totalmente qualificado e o usuário deve estar conectado ao servidor de aplicativo ou da web para executar o relatório ou acessar o conteúdo do link. Você pode qualificar totalmente o link dinâmico utilizando os comandos SET FOCHTMLURL ouSET BASEURL. Utilize o SET FOCHTMLURL para acessar os recursos que residem no alias ibi_apps/ibi_html. Para procedimentos fora do Managed Reporting, utilize SET BASEURL para especificar um local padrão para uma URL relativa que usa como referência documentos (arquivos HTML e imagens) criados pelo WebFOCUS. Você pode qualificar totalmente a Busca Detalhada utilizando o comando SET FOCEXURL.



Exemplo: Como Utilizar o SET FOCEXURL em um Procedimento do WebFOCUS Managed Reporting

Para fazer a Busca Detalhada em um procedimento do Reporting Server do WebFOCUS, o procedimento original que você está agendando deve incluir o seguinte comando:

SET FOCEXURL=http://hostname[:port]/wf_context_root/WFServlet;

onde:

hostname[:porta]

É o nome do host e o número de porta opcional do servidor de aplicativo ou da web no qual o Cliente do WebFOCUS está instalado.

wf_context_root

É a raiz de contexto local personalizado para o aplicativo da Web WebFOCUS implantada no servidor de aplicação. O valor padrão é ibi_apps.

As informações a seguir mostram um exemplo do comando FOCEXURL em um 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

A seguir, você encontra um exemplo do FEX de Busca Detalhada que reside no Managed Reporting.

-* 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