Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Turn Off "My View" for Users?
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Turn Off "My View" for Users?
 Login/Join
 
Master
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: 931 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport This Post
Master
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: 931 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport 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, 2005Reply With QuoteReport This Post
Master
posted Hide Post
Well if that doesn't void the warranty I don't know what will. Thanks!

J.



 
Posts: 931 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport 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, 2005Reply With QuoteReport This Post
Master
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: 931 | Location: At the Mast | Registered: May 17, 2007Reply With QuoteReport 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, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Turn Off "My View" for Users?

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.