XIr2 - Hiding "New" options in InfoView

XIr2. Is there a way to disable the following from InfoView? In the “New” button, these options are always present.

Publication
Hyperlink
OLAP Intelligence Report
OLAP Intelligence Connection
Crystal Report
Document from local computer

I’ve discovered how to hide WebIntelligence and Single Dashboard…but these others, I cannot disable.

Thanks. :?


korzel :us: (BOB member since 2004-01-20)

Take a look at the file:

\BO_INSTALL_DIR\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\classes\META-INF\CrystalEnterprise.Webapps\ePortfolio\config.xml

You can comment out the entries you don’t like.


Eric Vallo :us: (BOB member since 2002-08-15)

Yes I understand. I was hoping there was an option for “Not Specified” in the advanced settings for the InfoView application. BO gave these options for WebIntelligence and Single Dashboard…why not these others? Oh well. Thank you for your response.


korzel :us: (BOB member since 2004-01-20)

I was expecting this to be fixed in R2 or at least SP1.

I added this as an enhancement request. BO is busy fixing Error INF bugs i guess :wink:


Sheshachala5 :india: (BOB member since 2004-01-09)

Hi all

We have a .NET deployment of XI R2 SP2 and we have the same problem. Any ideas where to find the config file the .NET deployment?

Also… if these changes are made in the config files they must be global and therefore less useable to control access to application on a group level??

I agree on the comment from Sheshachala5… This should have been fixed since it is a major drawback.


bjarkigu :iceland: (BOB member since 2005-12-01)

it´s a shame how inflexible BO XIR2 is regarding the webinterface. All options are hardcoded in HTML. If a user does not have access to a function, it is still displayed in the webinterface, but when he tries to use it, it wont work. :reallymad: Very clever designed.

I was looking for a similar thing: To limit the target for sending objects… The solution was to edit headerPlus.aspx and simply comment out some lines.


var menuSend = btnSend.getMenu();
menuSend.add("sendToInbox","<%= this.EncodeJS("IDS_HPLUS_SEND_INBOX", WebDesktop.Utils.Constants.RM_GENERAL) %>", onMenuSendInbox);
menuSend.add("sendToEmail","<%= this.EncodeJS("IDS_HPLUS_SEND_EMAIL", WebDesktop.Utils.Constants.RM_GENERAL) %>",onMenuSendEmail);
//menuSend.add("sendToFTP","<%= this.EncodeJS("IDS_HPLUS_SEND_FTP", WebDesktop.Utils.Constants.RM_GENERAL) %>",onMenuSendFtp);
//menuSend.add("sendToDisk","<%= this.EncodeJS("IDS_HPLUS_SEND_DISK", WebDesktop.Utils.Constants.RM_GENERAL) %>",onMenuSendDisk);

If anybody discovers how to disable OLAP or Crystal Reports for some users, please let me know.


botom :austria: (BOB member since 2006-06-19)

Looks like there are two ways to do this.
Access to some of the application can be controlled via the CMC (Home - BusinessObjects Enterprise Applications)… choose the application to control access to, then the group to manage and there deny access to (typically) “create new document”. This can be done for the following applicatinos:
[list]- Central Management Console

  • Crystal Reports Explorer
  • Designer
  • Desktop Intelligence
  • Discussions
  • Encyclopedia
  • Performance Management
  • Report Conversion Tool
  • Strategy Builder
  • Web Intelligence[/list]
    Obviously in some cases it is not relevant to control “create new” access but basically the option is there. This way you can control access on a group level to some of the most import applications like WebI, DeskI and Designer and PM. But… you cannot control the “new document” access to OLAP-I, Crystal, Publications, and other documents (.txt .doc .xls etc.)being added to your BO system by all users.

If running on Tomcat you can , like mentioned before, tweak out the access to different elements in the “New” option by editing XML files in the directory mentioned in the following directory:
BO_INSTALL_DIR\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\classes\META-INF\CrystalEnterprise.Webapps\ePortfolio\config.xml

We are running on a .NET system and we can eliminate lines from the “New” menu by editing XML files for each individual application in the following directory:
E:\Business Objects XI R2\BusinessObjects Enterprise 11.5\Web Content\Enterprise115\appplugins\webdesktop\Plugins

Example: If I like to eliminate the OLAP Intelligence option from the “new” menu I simply find the CrystalEnterprise.Analysis.xml file (for OLAP Analysis), make a security copy of it, and using Notepad I find and and comment out the following lines:

<!-- Commented out to eliminate from the "New" button
</upload-action>
</actions>
  <inboxactions>
  <default-action>
 	<name>View</name>
	<descriptionID>config.view</descriptionID>
	<path>/InfoView/plugin/crystalenterprise/analysis/analysisviewer.jsp</path>
	<window>width=800,height=600,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,left=150,top=100</window>
</default-action>
-->

Please note that this action eliminates the “New OLAP-I …” from ALL users (even the administrator) and involves tweaking XML files that can be vulnarable for the system status. Please remember to backup all XML files before experimenting :slight_smile:
The action to comment out is typically either the “upload” action or the “create” action.
After tweaking you should run the “iireset” command from the command prompt.

Hope this will help :smiley:


bjarkigu :iceland: (BOB member since 2005-12-01)

Thanks a lot, this worked perfect for my installation unter .NET.

It is also possible to remove the Crystal Reports “New” Icon…

After editing
Business Objects\BusinessObjects Enterprise 11.5\Web Content\Enterprise115\appplugins\webdesktop\Plugins\CrystalEnterprise.Report.xml

and commenting out

            <!--<create-action>
		<name>create</name>
		<descriptionID>IDS_LINK_TYPE_CRYSTALREPORT</descriptionID>
		<path>adhoc/adhoc.aspx</path>
	    </create-action>
	    <create-action>
		<name>createdatasource</name>
		<descriptionID>IDS_ADHOC_DATASOURCE_DESC</descriptionID>
		<path>adhoc/datasource.aspx</path>
	    </create-action>-->

and restarting IIS (!) it was gone :lol:

However, this is real hardcore to remove it totally :hb: [/i]


botom :austria: (BOB member since 2006-06-19)

I have obtained this result in XI R2 without modifing code.
I have created a new user group, I have added all user that I dont wont to view for example WebIntelligence in this group and I have named the user group ‘NO WEBI’.
From the cmc, in ‘Applications…’ I have changed right for WebIntelligence respect the new users group. For this group I have changed advanced righs using always ‘net specified’ or ‘expl. denied’.

Now all my users in ‘New’ they have only Links and ‘Local documents…’


magot (BOB member since 2004-11-30)

Nice feature :wink:
/ Stig Henning


kilko :norway: (BOB member since 2006-01-27)

So does anyone know whether this is being seriously addressed by BusObj?

I understand the need to enable us to tailor specifics interfaces for different businesses but tweaking and adjusting config and jsp files to fulfill a blatant void in the product…oh please! :reallymad:

Has anyone found a code solution in the Java environment (ie headerPlus.jsp)?

I’m not a java programmer so please excuse me if my knowledge explanation is limited. It seems that if we could wrap an if test around the following lines of code it will prevent the menu items from appearing.

<c:forEach var="appsframeItem" items="${appsframelist}"> <fmt:setBundle var="pluginBundle" basename="${appsframeItem.resource}"/> <fmt:message var="menuLabel" key="${appsframeItem.descriptionID}" bundle="${pluginBundle}"/> <c:set var="iconkey" value="${appsframeItem.icon}"/> // Insert if test here to either apply menu item or not menuApps.addCheck('<%= context %><c:out value="${appsframeItem.path}" escapeXml="false"/>', '<%= Encoder.encodeJS((String)pageContext.findAttribute("menuLabel")) %>', onMenuAppsSelect, '<%=context + schema.getUrl(application, (String)pageContext.findAttribute("iconkey") )%>' ); </c:forEach>

My question to whoever can answer it is, what object class/method can be used to reference the menu label/name? ie If Menu != “Hyperlink” etc. etc.


The Emu :australia: (BOB member since 2002-09-13)

Sorry having a bad hair day. :oops:

This might look better.

<c:forEach var="appsframeItem" items="${appsframelist}">
	<fmt:setBundle var="pluginBundle" basename="${appsframeItem.resource}"/>
    <fmt:message var="menuLabel" key="${appsframeItem.descriptionID}" bundle="${pluginBundle}"/>
    <c:set var="iconkey" value="${appsframeItem.icon}"/>
    // Insert if test here to either apply menu item or not
	menuApps.addCheck('<%= context %><c:out value="${appsframeItem.path}" escapeXml="false"/>',
                '<%= Encoder.encodeJS((String)pageContext.findAttribute("menuLabel")) %>',
                onMenuAppsSelect,
                '<%=context + schema.getUrl(application, (String)pageContext.findAttribute("iconkey") )%>' );
</c:forEach>

The Emu :australia: (BOB member since 2002-09-13)

To completely remove the “New local document…” in a jsp environment :

  • edit the file “headerPlus.jsp” located in the folder “…\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\InfoView\main”

  • comment these lines :


/*
<fmt:message var="lblNewLocalDocument" key='main.menu.new.localdocument'/>
var uploaditem = menuNew.add("newLocalDocument",
                    '<%= Encoder.encodeJS((String)pageContext.findAttribute("lblNewLocalDocument")) %>', null,
                    '<%=context + schema.getUrl(application, "img.menu.upload")%>');
*/

and


/*
uploaditem.attachSubMenu(subMenu);
*/

It worked fine for me.


ombo (BOB member since 2005-11-16)

Hello!!!

I don´t like that user can create new publication in Infoview.

I erased

		<plugin>
		<progid>CrystalEnterprise.Publication</progid>
		</plugin>

But this didn`t work. How can I do?

Thanks.


cgarcesg :es: (BOB member since 2005-11-14)

Hi All,

I am actually looking for achieving what all in the previous posts have been saying. I am on Tomcat and XI R2. I could disable allthe options in the config.xml file except but “OLAP Intelligence Connection & OLAP Intelligence Report”

If someone know a way to do that, it would be fantastic?

Thanks,
SG


sagarghamandi (BOB member since 2004-08-26)

There is a solution I remember a post around this topic on BOB. Could not find it …

I know there is one…but no clue on which file to edit…


sagarghamandi (BOB member since 2004-08-26)