Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Setting text box to display UserID

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Setting text box to display UserID
 Login/Join
 
Platinum Member
posted
Hi,
We are creating a Report request submission form. One of the text box needs to display the user ID. The fex is from an sql insert stored proc. The user ID field is actually an amper variable. I cant get the user ID to prefill on the HTML form. I tried some examples from other postings like this:

-SET &USERID=GETUSER('A8');
-SET &EmpID = &USERID;

Did not work: here is my fex:

 -* File RequestSubmission.fex
-SET &USERID=GETUSER('A8');
-SET &EmpID = &USERID;
ENGINE SQLMSS SET DEFAULT_CONNECTION IVB
SQL SQLMSS
EX dbo.RequestSubmission '&EmpName','&EmpID','&EmpEmail','&RequestType','&ImpactType','&ImpactDesc','&Urgency',
       '&DeliveryDate','&Project','&ProjectTitle','&LOB','&Div','&Grp','&DeliveryMethod','&FileType',
       '&Frequency','&FrequencyType','&Comments'
;
 


Any help would be appreciated.

Thanks!

This message has been edited. Last edited by: Kerry,


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report This Post
Master
posted Hide Post
Have you tried &IBIMR_user?

-ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
Platinum Member
posted Hide Post
Thanks..but I do not have the perfomance management enviroment. I need to use &IBIC_user or something like that which I tried. That did not work either.


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report This Post
Gold member
posted Hide Post
Joe,

I use a FEX to dynamically populate an input box.

Here's my code for the FEX:


-SET &sys_usr = CNCTUSR('A8');
ENGINE SQLORA SET DEFAULT_CONNECTION GOLD
SQL SQLORA PREPARE SQLOUT FOR
SELECT UPPER('&sys_usr') AS "SYSTEM_USER" FROM DUAL
;
END
TABLE FILE SQLOUT
PRINT
     SYSTEM_USER
BY
   SYSTEM_USER
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE PCHOLD FORMAT XML
END



And here's my input box. I think it was because of some control chaining that I'm doing
that I made this a hidden input box, and then use Javascript to populate the box(es) that the
user sees - that's the SetCreator() function you see at the end:


<!-- ***** UserSource ***** -->
<INPUT id=txtUserSource type="hidden"  tabIndex=-1 ame=user_source
cacheruntimedata="0" addalloption="0" requiredfield="1464898" datatype="1" datafieldtype="INTIGER" addalloption="0"
datasource="app/userlist.fex" requiredfield="1464898" datatype="1" datafieldtype="INTIGER" sourcetype="typeFex"
accept="0" IBIMR_dir="#mydir" IBIMR_folder="#myfolder" IBIMR_domain="mydomain/mydomain.htm"
onChange=SetCreator() />

This message has been edited. Last edited by: MathematicalRob,


WebFocus 8201m on Windows; App Studio 8201; Procedures: WebFocus with SQL; HTML Parameter Pages & Dashboard; Output: Excel, HTML, & PDF.
 
Posts: 88 | Location: MI | Registered: July 23, 2009Report This Post
Expert
posted Hide Post
quote:
CNCTUSR


Wow, haven't seen that one before, looks like its new to 7.6


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Setting text box to display UserID

Copyright © 1996-2020 Information Builders