As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I have the below line of code in one of the report and is working perfect in fetching the protocal and the servername when we execute the report from the BI Portal.
However, when scheduled the report in ReportCaster it is returning blank values for the protocal and the servername.
Take a look to have them set from a fex included in "Administration Console / Application Settings / Client Settings / Universal Profile"
quote:
Universal Profile (IBI_UNIVERSAL_PROFILE) The following syntax enables you to include code to be executed by the Client and the ReportCaster Distribution Server. This differs from the _site_profile, which is only executed by a Client request.
_universal_profile=command where:
command Is any valid Reporting Server syntax.
A _universal_profile should not include any logic or constructs that will execute only on the Client. For example, http header variables should not be included, because they are available to the Client, but not to the ReportCaster Distribution Server.
The universal profile can also be added directly to the drive:\ibi\WebFOCUS82\client\wfc\etc\site.wfs file.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
The ReportCaster Internal Variable equivalent of &SERVER_NAME is &DSTHOST.
So for code that can run under the ReportCaster Distribution Server or through the WF Client, he have some common code, that looks like the following, to normalize the server name:
-DEFAULTH &SERVER_NAME = 'WF Server Name Missing'
-DEFAULTH &DSTHOST = 'Missing'
-*
-TYPE WF Report Server Name: &SERVER_NAME
-TYPE ReportCaster Server Name: &DSTHOST
-*
-SET &SERVER_NAME = IF &DSTHOST EQ 'Missing' THEN &SERVER_NAME ELSE &DSTHOST;
Take a look at the ReportCaster Variable list to see if there is an equivalent of 'URL_PROTOCOL' if you need that as well.
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster