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     [SOLVED] Turn Off "My View" for Users?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Turn Off "My View" for Users?
 Login/Join
 
Virtuoso
posted
I'd like to limit my users to just their group views. "My View" seems to just sow confusion and in 7.7 I can't get it to turn off the Links in the upper-right-hand corner of the banner, so the users are getting access to options I don't want them to have.

I was able to comment out a section of code in 7.6 and get My View to disappear, but that trick doesn't appear to work in 7.7. Can anyone point me to the secret sauce for this one?

J.

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



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Virtuoso
posted Hide Post
I'll change the question a bit -- I can turn off My View on startup for the user, I'd like it removed in their Views window when they select the link in the upper-right-hand part of the banner. 7.6 had a jsp mod that did the trick but it did not function correctly when I applied it to 7.7



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
We recently opened a case about this. After a lot of back-and-forth about which "My View" link we wanted to suppress, this was suggested, and apparently works in v7.7.03:

quote:

You can remove the "My View" option from the Views link by doing the following.

* These steps are assuming that you are pointing to the webfocus77 exploded directory for your web application rather than the webfocus77.war

* Please make sure you backup your files before you make any changes.

A. Locate the intl.jar file under the following directory:
\ibi\WebFOCUS77\webapps\webfocus77\Web-INF\lib\intl.jar

B. Unjar the "copied" jar file you can use the Winzip to unjar.

C. Locate the WORP_Bundle_en.properties located under:
\\ibi\intlfolder

D. Find the following entry:
sMyView=My View

E. Change it to the following:
sMyView=

F. Save your changes. You now need to re-create the JAR

G. After all the changes please bounce your application server for changes to take effect.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Well if that doesn't void the warranty I don't know what will. Thanks!

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
Good luck!!!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Much thanks to Andrew Katz in the DC office that brought the goods. Two files need to be changed to pull "My View" out of reach of end users. Both are found here:

C:\ibi\WebFOCUS77\webapps\webfocus\worp\jsp\views


IMPORTANT PRE-ACTION REQUIRED -- Make a backup copy of the original files and clearly label them. There will be another set of backup files required below so be sure to indicate with the backup names that these are the original install files.


WORP_ViewList.jsp places My View before the user on their Menu List of views when they log in. (This assumes you've turned off the immediate execution of My View at login, which seems like a pretty safe assumption if you're looking to turn it off later in their business process.) Comment out or remove this code near the bottom of the unit --

<TD><img src="<%=bulletIconPath%>" /></TD>
	<td style="white-space: nowrap" align="left">
	<a class="anchor1" href="<%=actionHandler%>?WORP_REQUEST_TYPE=WORP_INIT_VIEW&
           <%=StringEscapeUtils.escapeHtml(appendMpv)%>"><%=WORP_Utilities.getDBVar(language, "sMyView")%></a>
	</td>



WORP_GroupViewList.jsp places My View before the user in their Views list from the option on the upper-right of their worp banner. That's a separate removal requirement. As with WORP_ViewList above, comment out the same code near the bottom of the unit --

<TD><img src="<%=bulletIconPath%>" /></TD>
	<td style="white-space: nowrap" align="left">
	<a href='about:blank' onClick='changeView("<%=actionHandler%>?WORP_REQUEST_TYPE=WORP_CHANGE_VIEW")'>
            <%=WORP_Utilities.getDBVar(language, "sMyView")%></a>
	</td>



IMPORTANT POST-ACTION REQUIRED -- These files are in the line of fire when upgrades are made to your WebFOCUS install. Even a x.xx.001 patch to your WebFOCUS software could result in the deletion of your modifications. Your end-users will magically get My View back. Make a copy of your modifications and label them appropriately so that you can duplicate the change after a system upgrade replaces the files in the execution path.

Oh, and check your changes into CM. You're using CM on your modded system files, right? Right?

Of course you are.

J.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
John,

Thanks for the update. This sounds a lot easier and seems a definitely more kosher method.

Cheers,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 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     [SOLVED] Turn Off "My View" for Users?

Copyright © 1996-2020 Information Builders