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] MREID check before HTML is displayed

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] MREID check before HTML is displayed
 Login/Join
 
Member
posted
I have an HTML composer page with a parameter that is populated with valid selections based on the MREID. Some users will not have any valid selections so the drop down box is not populated.

Rather than a user seeing an empty box, I would like to do a preliminary check on the MREID and display a simple HTML output with a “You do not have access to this report.” message. If a user does have valid selections, the HTML page should be displayed.

In 7.6, this was accomplished in the text editor by evaluating the ID and then skipping to a HTMLFORM BEGIN section when the user didn’t fit the criteria. I’m trying to find a way to accomplish this 8.105m with HTML Composer.

Any suggestions or guidance would be greatly appreciated.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.105m
Windows, All Outputs
 
Posts: 2 | Registered: December 17, 2012Report This Post
Virtuoso
posted Hide Post
With WF8 it's much more easier than having to do code to grant or not access to something : use the Security Center.

Having proper security setup using the Groups, once a user log in he/she will only see what he/she has access to.


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
Virtuoso
posted Hide Post
Hi tsnowbe

First of all welcome to Focal Point!!

I'm not sure Martin's suggestion will work since this is base on a table lookup to see if the user has selections available..

I actually think the way you did it in 7.6 should still work in 8.1.05 where the fex does the lookup and then based on if there are selections you branch to the appropriate -HTMLFORM statement to run.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Member
posted Hide Post
Chuck, you are correct, the lookup is separate from the Webfocus 8 Security so I’m looking for a different solution.

I have two external fex procedures in the HTML form page. One populates a dynamic/explicit drop down and the other is the report that will be launched with a run button. I built the HTMLFORM statement into the drop down list fex but all it does is write a message over top of the existing HMTL canvas that shows all the parameters.

It’s almost as if I need to run a fex on the HTML load that would validate the user and display the appropriate screen (a message or a launch page). When I run the drop down list fex on load, it displays the desired message for non-users but it runs a list of selections in XML format and doesn’t redirect you to the launch page.

If I had a third fex that didn’t create the list but had either (1) the non-user message or (2) some sort of INCLUDE or run statement to then redirect to the HTML page. I attempted this with an include but it prompts for nbsp so I might really be reaching! Thoughts?


WebFOCUS 8.105m
Windows, All Outputs
 
Posts: 2 | Registered: December 17, 2012Report This Post
Expert
posted Hide Post
Use site.wfs, pass the MREID, which would be &IBIMR_user, then, INCLUDE a fex which does what you are looking to do.

You may need IBI assistance to set this up, here is a crude example:
  
<set> IBIMR_user (pass)
_site_profile = -INCLUDE YOUR_FEX_HERE
 

hth

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 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] MREID check before HTML is displayed

Copyright © 1996-2020 Information Builders