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] Toggle data on report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Toggle data on report
 Login/Join
 
Gold member
posted
I have a report that has an encrypted field on it. If the user has access to see the decrypted value, there would appear an image(unlock/lock) that they can click on to show the decrypted value where the encrypted value is, thus allowing the user to toggle back and forth between encrypted/decrypted values. Can this be done in Webfocus?

Thanks

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


WebFOCUS 8.0.08
Solaris
HTML, PDF, XLS, CSV
 
Posts: 55 | Registered: September 08, 2010Report This Post
Virtuoso
posted Hide Post
I don't think that there's an out-of-the-box feature that supports that.

To achieve what you want, you'll need to resort to custom JavaScript code to hide/unhide values upon clicking the image. You must control in WebFOCUS the inclusion of the decrypted value and the JavaScript piece only when the user running the report has actual access to the data.

Another alternative would be to define a drill-down report that would execute upon clicking the image. This new report will then display the decrypted data.

Though the second alternative won't have the visual effect you want, it will be very easy to implement using standard default drill-down functionality in WebFOCUS. I also like this alternative because it will allow you to keep your main report output "clean" and more secure.

With the first approach, you return decrypted information and then hide it, but hidden or not that info will still be in the HTML document so by using "View Source" in the browser your user will have easy access to that "protected" information which is probably not what you want, unless you want to get fancy and load the info via AJAX only when the image is clicked but that means more custom code that increases the complexity.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
I'm glad that you pointed that out. Cool
quote:
With the first approach, you return decrypted information and then hide it, but hidden or not that info will still be in the HTML document so by using "View Source" in the browser your user will have easy access to that "protected" information which is probably not what you want, unless you want to get fancy and load the info via AJAX only when the image is clicked but that means more custom code that increases the complexity.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
Wink



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report 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] Toggle data on report

Copyright © 1996-2020 Information Builders