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     Hiding Radio Boxes for selected users

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Hiding Radio Boxes for selected users
 Login/Join
 
Member
posted
Hi,

We have a HTML page in webfocus, which has 4 Radio Boxes. We want to hide one of the Radio Box for all the users except 2 users. How can that be achieved?

Regards,
Mayank


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 16 | Registered: March 28, 2013Report This Post
Virtuoso
posted Hide Post
One way is to use js to hide or show the control but you must first have a way to identify the user

if (user == 'userX')
document.getElementById("CTRLID").style.visibility='hidden';
else
document.getElementById("CTRLID").style.visibility='visible';


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, 2013Report This Post
Member
posted Hide Post
Hi Martin,

Can you please let me know how to identify the user?
I am quite new to webfocus Frowner


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 16 | Registered: March 28, 2013Report This Post
Master
posted Hide Post
Mayank,

There are a few ways to identify the user. There is IBIMR_user. To use this update your custom settings on the client.
  <set> IBIMR_user(pass)


Your admin should be able to do this for you.

There is also the CNCTUSR('A50') function you can utilize, but I would test it in chrome because I believe there were some issues in earlier version

You will have to change
 if (user == 'userX')  


to

if ( !IBI.AMP.user == 'userX') 


and then you will need to call your HTML page from within another fex so that the HTML page knows how to resolve the variable

-HTMLFORM app/xxxxxxx.htm

There might be some different ways in 7.6 for identifying users, but those are the two that I would use in 7.7.03


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report 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     Hiding Radio Boxes for selected users

Copyright © 1996-2020 Information Builders