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 an issue and don't know exactly what is the best way to do it. Maybe someone can give me an advice whats the best pratice in such case.
First of all: - There are 8 Reports - this 8 Reports can be selected by 2 different GUI's (Made in HTML Composer in APPStudio)
now the "tricky" part: - User "x" requests the Report by URL from an external Application - The URL have the User and a ID - Combination of URL and ID will be checked against a View - The result of the Check leads the user to the GUI nr. 1 or GUI nr. 2 and will pass the Parameters in URL to the GUI - the Gui gives the User selection for the Reports available for him
My Questsion, i don't know exactly what is the best solution to "script" this.
- do i Need a complete new procedure? - do i Need to do it in the HTML Composer 2 times (for both GUI's) - or are there other Options that i didn't think of?
Well Captain, are you a pirate? You know what, nevermind, don't answer that. This is a public forum, it will incriminate you forever.
Welcome to WF.
Your reports shouldn't need parameters passed to them with User info. The username is a public variable and all other user info can be queried via WebFOCUS repository. All of which the reports can pick up themselves. Look up UOA_USERS.
You'll need to create a Synonym using a "JDBC Generic" adapter. URL: jdbc:derby://127.0.0.1:1527/WebFOCUS81 admin user/password
.fex code:
TABLE FILE uoa_users
BY UOA_USERS.UOA_USERS.ID AS 'UserId'
BY UOA_USERS.UOA_USERS.NAME AS 'Username'
BY UOA_USERS.UOA_USERS.DESCRIPTION AS 'Fullname'
WHERE UOA_USERS.UOA_USERS.NAME EQ '&IBIMR_user'
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
END
-RUN
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
thx for the advice, now i have found the UOA_Users and generatet a master Data File whith everything in it.
there is just one thing more i should know, how can i get the connected User to webfocus and pass it to the Report? i think i Need to create a variable in the Report and catch the user.
thx for Support, i am new in WebFocus and worked a lot with Cognos Kind Regards
If it doesn't then you need to set it up in "Custom Settings" under Administration->Configuration->Custom Settings.
These are the settings we use, it allows us to access these variables.
<VER 1>
# Copyright 1996-2011 Information Builders, Inc. All rights reserved.
# $Revision: 1.7 $
# place any variables here from cgivars.wfs that you wish to override.
# --- Documentation: http://techsupport.information...cAdmin/wf8104sec.pdf
# --- WebFOCUS Security and Administration > Manipulating WebFOCUS Variables > Managed Reporting Internal Variables
# Managed Reporting Internal Variables
# The folder where the processed report is stored
<SET> IBIMR_folder (pass)
# The complete path for a procedure, including file name and extension
<SET> IBIMR_fullpath (pass)
# The domain HREF where the report being processed is stored
<SET> IBIMR_domain (pass)
# The description given to the report by the developer
<SET> MR_FULL_FEXNAME (pass)
# The file name (also known as the IBFS name) assigned to the report when it was created
<SET> MR_ITEM_HANDLE (pass)
<SET> IBIMR_memberof(pass)
<SET> IBIMR_user(pass)
<SET> REMOTE_ADDR(pass)
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
FYI, if you do the following in a FEX all by itself, you will get a list of Every variable that exists..
Dumps all variables to the screen. Note variables that are longer than like 61 bytes are cut off via display only. Also Variable names larger than 13 bytes are cut off via Display only.
-? &
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server