How to hide a portlet in a portal application

Hi, there,
I want to implement a scenario that restrict specific group of users to access specific portlets based on the users' role. For example, suppose that some portlets labelled A1, A2, B1, B2 and B3. Group A users can only access A1 and A2; where group B users can only access B1, B2, and B3.
Since the Weblogic portal workshop only allows creating portal application by manually adding portlets, and each portlet does not have hidden property.
How can I hide the portlets (B1, B2, and B3) that are not used by group A users; and hide the portlets (A1, and A2) that are not used by group B users.
Thanks a lot.

You need to use the streaming mode and setup entitlements. Search the docs for this.
You cannot do this through workshop, but rather need to use the portal admin tools.
Kunal

Similar Messages

  • How to hide the menus in Weblogic Portal?

    I have to develop a page in Weblogic Portal 10.0 that uses a portlet for the UI presentation.
    I have a requirement that the page is hidden by default. When I navigate to the page by selecting a link, I have to display the contents in that page. While displaying I should hide the portal level menus of other books/pages. But I have to display other contents like logo, etc.
    Can some one please help me on how to hide the menus in the selected page?
    Edited by: [email protected] on Apr 19, 2010 3:43 AM

    As a quick and dirty solution i would edit the navigation jsps (singlelevel/multilevel/yourcustom menu jsp) and disable the navigation for all hidden pages.
    Or create a backing file and dynamically change the navigation state on the desktop when the hidden page is requested.
    Or have the page in a different portal file if possible and set the same header and footer there as well.
    Or You could have a look at the detached portlets. These are used as popups often.

  • How to hide a portlet

    is it possible to show/hide a portlet from another portlet.If it is possible how
    can it be achived..

    yeah, also look at post 4604
    In the first portlets backing file (probably the preRender method)
    PageBackingContext pageBackingContext = PageBackingContext.getPageBackingContext(request);
    List childWindows = pageBackingContext.getWindowBackingContexts();
    for (int i = 0; i < childWindows.size(); i++)
    WindowBackingContext windowBackingContext = (WindowBackingContext)childWindows.get(i);
    if (windowBackingContext instanceof PortletBackingContext)
    String instanceLabel = windowBackingContext.getLabel();
    if ("MyOtherPortletsInstanceLabel".equals(instanceLabel))
    windowBackingContext.setVisible(false);
    "mahesh" <[email protected]> wrote:
    >
    is it possible to show/hide a portlet from another portlet.If it is possible
    how
    can it be achived..

  • How to create custom template for webcenter portal application

    Hi,
    I created webcenter portal application in my jdev using the webcenter portal application template provided by the webcenter framework.
    I tried to create custom template for my application by following steps:
    1. Created new application using webcenter portal application template with all default package structure.
    2. Right click pagetemplates folder under webcontent package and select new option.
    3. New gallery opens up.
    4. Selected JSF under webtier and JSF Page Template under items in the right hand side and clicked Ok button.
    5. New wizard opens up for creating new JSF page template.
    6. Gave template name(file name) and Page Template Name(template def name).
    7. Selected checkbox staing start a Quick Start Layout and selected three column layout and selected Ok.
    8. Selected checkbox for Create Associated ADFm Page Defination(so that page templates can be changes at run time).
    9. Created some Facet Definations (header, footer, content1, content2, LHN, RHN).
    10. Clicked Ok button which will create custom template.
    11. Added some Panel Group Layout component from Component Palette.
    12. Created new page (.jspx) with this template.
    Now when I try to add producer portlets created using Producer Portlet application template and connected to the above application using WSRP2.0, I'm facing problem.
    The prolem is that I'm not able to add more than one portlet in one single page?
    Kindly let me know whether the steps followed by me is wrong some where and needs to corrected and let me know how I can add more than one portlet to page?
    Basically I cant see more than one placeholders in my page to add portlets.

    Thanks Yannick.
    In the step 9 I had mentioned that I created various facet definations (header, footer, content, content1 RHN and LHN).
    Is this is not facet you are talking about or should I drop facet ref from the resource palette?
    Can't I add moer than one portlet to my page at design time itself?
    Annoying since in weblogic portal we do this at design time(.portal).

  • Webclipping Portlet in Webcenter portal application

    When creating a web-clipping port-let in Webcenter portal application, we register the url for the webclipping portlet (http://localhost:7101/portalTools/webClipping/providers/webClipping) as Oracle PDK Producer connection as mentioned in Web center portal developer's guide http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_pages.htm#CHDJDGIF.
    The content for the web-clipping portlet is to be specified at runtime only.
    Is it possible to define the contents for the web clipping portlet in design time/JDeveloper itself.
    Thanks,
    Navaneeth

    You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
    You may want to check it on the Webcenter Portal forum too - WebCenter Portal

  • How to read text file content in portal application?

    Hi,
    How do we read text file content in portal application?
    Can anyone forward the code to do do?
    Regards,
    Anagha

    Check the code below. This help you to know how to read the text file content line by line. You can display as you require.
    IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    IResourceContext resourceContext = new ResourceContext(user);
    String filePath = "/documents/....";
    RID rid = RID.getRID(filePath);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    InputStream inputStream = resource.getContent().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    String line = reader.readLine();
    while(line!=null) {
          line = reader.readLine();
         //You can append in string buffer to get file content as string object//
    Regards,
    Yoga

  • Accessing a portlet from Non-portal Application

    Hi,
    Is there a way to access a portlet in a non-portal application using javascript. The non-portal application may be a PHP one.
    Also, is it possible to send some parameters through javascript so that the portlet can use it and render different content.

    If by domain you mean the accessed url (and not the weblogic domain) , then yes any ajax based solution needs the files to be located in the same domain (as the browser sees it).
    If that isnt the case you
    a. Either use some sort of frames
    b. use a server side proxy
    c. Other loading javascipt based techniques
    Of this b. is the most common , because its pretty simple to do as most modern webservers directly allow you to reverse proxy to any site by simple configuration.
    E.g. if you have PHP on apache as www.youweb.com and your weblogic runs on yourapp.com , you can create a rule on the apache which states that /xyz goes to weblogic (by using the weblogic plugin or mod_proxy). Once you do this , you are running on the same domain as the browser ses and ajax will work

  • Hide the portlets in a portal

    Hi,
    I need some help on Weblogic Portal server. Following is my scenario.
    I have a portal created. I have a page with two columns in that. In the left column I have a portlet which has a select box with 8 values with the option to select multiple value and a submit button. In the right column of the page I have 8 different portlets created and placed. During run time when the user browses this portal I need to hide all the 8 portlets in the right column. Later if he selects say 3 options from the left column select box and submits, I have to display corresponding 3 portlets in the right columns and others continue to be hidden.
    Please give me a solution for this.
    Thanks
    Pradeep.

    u can use the portletbackingcontext and set the visibility of a portlet to true or false.
    Kunal Mittal

  • How to hide a tab/book in portal

    Hello, I am building a website which requires a valid username and password to get in. Depending on the type of the user (client or admin) the users can view certain tabs or books in the portal (the admin will be able to view all available books). Is there anyway to hide a book/tab from the portal? I am using Weblogic 8.1 SP 3
    Thank you
    TL

    You can use taglibs and EL to control the output flow in JSP. A standard taglib is JSTL. For conditional statements you can use JSTL's <c:choose> or <c:if> tags. Syntax is nothing more than obvious, here's some pseudocode:<c:if test="${display tab123}">
        <div id="tab123"></div>
    </c:if>

  • How To hide the ESS Worksets in Portal?

    Dear
    Friends
    I have the following doubt.
    In the role of Employee Self-Service We have the following Work sets:
    Employee Search | Personal Information | | Benefits and Payment | | Travel and Expenses | Career and Job Purchasing |      Work Environment | Travel and Expenses | Life and Work Events | Corporate Information
    we need hide some Work sets(Purchasing | Work Environment | Travel and Expenses | Life and Work Events | Corporate Information)under the role of Employee Self-Service.
    i was  done context marring ESS(Employee Self-Service) Folder to new Copied Folder Name EssCopy..
    this copied folder having role i was assign that role my admin user...working fine..
    but question is i need to Hide the abow Mentioned Some Work sets..
    Can u any body help me
    Regards
    Rafi Shiak

    hi,
    you can do this by different ways,
    1) open the copied role and delete the worksets from role which you don't want.
    2) open the role and change the properties of worksets which you don't want.
    Property: Invisible in navigation areas= yes
    help link: http://help.sap.com/saphelp_nw70/helpdata/en/4f/bceaffeb8c114ebef8255b63079c7c/frameset.htm
    regards,
    mahesh

  • How to hide custom actions from Oracle Worklist Application (Conceptual)

    Hi,
    I have a conceptual question in relation to Worklist Application and the Oracle Workflow. I will explain, now:
    This is the image that demonstrate the situation (worklist app console): http://i53.tinypic.com/34h9ilw.png
    As you can see, i have 4 custom actions (ENVIAR_ANALISE_FRAUDE, APROVAR, REPROVAR, ENVIAR_ANALISE_NIVEL2) and i have three main regions in the image
    (Action By Menu 1, Action By Menu 2 and Action By Button 3).
    I have to make same custom validations when the user to choose any action, then inside of the JSPX file (Human Task Page Generated), i made the following customizations to reach my objective:
    1) At the Region 2 (Action By Menu 2) - I delete these lines of code to hide the actions:
    <af:group id="g2">
    <af:forEach var="childNode1"
    items="#{actionAvailable.customActions}">
    <af:commandMenuItem textAndAccessKey="#{childNode1.displayName}"
    actionListener="#{invokeActionBean.setAction}"
    action="#{invokeActionBean.action}"
    partialSubmit="false" id="cmi2">
    <f:attribute name="ACTION_MENU_ITEM"
    value="#{childNode1.action}"/>
    </af:commandMenuItem>
    </af:forEach>
    </af:group>
    2) At the Region 3 (Action By Button 3), i change the default action button's to point to my managed bean action and make the required custom validations, in accordance to my requirements. After that i made my validations, i call some lines of code to make with the Oracle Workflow executes your default internal functions when an action is clicked.
    <af:commandToolbarButton actionListener="#{myManagedBean.setOperation}"
    text="Aprovar"
    disabled="#{myManagedBean.isErrorOccurred}"
    action="#{myManagedBean.invokeMyCustomizedOperation}"
    partialSubmit="false"
    visible="#{wf:isCustomActionAvailable('APROVAR', 'bindings.customActions')}"
    id="ctb2">
    <f:attribute name="DC_OPERATION_BINDING" value="bindings.APROVAR"/>
    </af:commandToolbarButton>
    public void setOperation(ActionEvent p1){
    this.acaoSelecionada = (String) p1.getComponent().getAttributes().get("DC_OPERATION_BINDING");
    this.operation = UtilWorkflow.getInstance().getOperationFromHumanTask(this.acaoSelecionada);
    this.operation.execute();
    InvokeActionBean ia = (InvokeActionBean)ADFContext.getCurrent().getRequestScope().get("invokeActionBean");
    ia.setFinalizerJavaScriptName("closeBrowser()");
    ia.invokeScript();
    3) The great problem for me now is the region 1 (Region By Menu 1), this the part of Oracle Worklist Application and i cannot hide this Menu or change anything inside it. If the user click at the 'APROVAR' action, my custom validations will be ignored and the Workflow will approve my task, without intervention of my validations.
    After explaining everything this, here are my questions:
    1) Is this the correct way to work with the Oracle Soa Suite ?
    2) How can i hide the Region 1 (Action By Menu 1) ? Is possible ?
    Thanks,
    Victor Jabur

    Hi,
    I am also in need of hiding or having custom validations for the actions in Region 1. Does anyone have any suggestions? Please help!
    Thanks,
    Farhana

  • How To hide buttons in standard ESS /MSS applications .

    I have implemented standard ESS/MSS business package version mySAP2005 in ECC 6.0. Now in a standard iView buttons like Edit ,Previous ,etc are present . Now how can I hide these buttons ,say Edit button from iview level ?Now since this is Client Requirement .
    My main problem is I do not have adequate time to customize the standard applications through coding .Is there any other way to do it ?Thanks in advance for any solution provided quickly as goalive is near .

    Hi Ribhu,
    Open the iview in question and do a CTRL+right click.
    Hope this helps in serving your purpose.
    Points are welcome!
    Cheers,
    Sandeep Tudumu

  • Sharing portlets across multiple portal applications

    Hello all,
    I have a single enterprise application that consists of several portal web applications. Most of these portal web applications have common portlets within their codebase. Is it possible to share portlet code across multiple web applications?
    Thanks

    No, not possible, in the same way that sharing JSPs and Pageflows wouldn't be possible across multiple webapps. You can, however, have multiple portals within one Portal webapp, and then you could share portlets and portlet resources amongst those portals.
    George

  • NPE while registering Remote Portlet in Weblogic Portal 10.3

    Hi,
    I am on Weblogic Portal 10.3 and am trying to create a remote portlet in my portal application. The remote Portlet is hosted on OC4J 10.3.1.1.1 and is consumed properly on Oracle Portal without any errors, however, when I try to access the portlet's wsdl via the Remote Portlet Wizard, I get the following exception while registering.
    bq. {color:#3366ff}!ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-ERROR|http://forums.oracle.com/forums/] There was a problem submitting registration for this producer.{color} \\ {color:#3366ff} \\ Reason = ProducerAgent::java.lang.NullPointerException: null{color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 4 4 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE {color} \\ {color:#3366ff} \\ !STACK 0{color} \\ {color:#3366ff} \\ java.lang.NullPointerException{color} \\ {color:#3366ff} \\ at weblogic.utils.encoders.CharacterDecoder.decodeBuffer(CharacterDecoder.java:188){color} \\ {color:#3366ff} \\ at com.bea.wsrp.util.XmlUtils.decodeBASE64(XmlUtils.java:270){color} \\ {color:#3366ff} \\ at com.bea.wsrp.bind.RegistrationContextImpl.&lt;init&gt;(RegistrationContextImpl.java:44){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:258){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:221){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.submitRegistrationDocument(ProducerAgent.java:384){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$RegistrationRunner.run(SelectProducerPanel.java:1425){color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.953{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-DEBUG|http://forums.oracle.com/forums/] RegistrationPanel::could not submit registration document: null{color}
    {color:#3366ff}
    {color}
    {color:#000000}This producer is fully WSRP compliant and works perfectly fine with Oracle Portal. Any pointers of where it might go wrong?{color}
    Ansuman

    Now I am able to display the initial page of the remote portlet. However, when I try to do some operations I m running into one more issue:
    [WSRP-Consumer:420733]No markup received from the producer [oraclePortal_producer] for portlet with portletHandle[E:3:default].
    Is there anything futher I need to do?
    regards,
    Ansuman

  • UME in Portal Application

    Hi Guys,
    How do we get user information from Portal Application?  Also, I would like to be able to get the user role from Portal Application.
    I knew one way is to use "com.sap.security.api.UMFactory" API.  from UMFactory, we can get IUserFactory and IRoleFactory, however, in IUserFactory, it is asking for user id to get IUser object, how do I get the user ID ?  Similar IRoleFactory, how do I get unique id to get IRole?
    Thanks,
    Johannes

    This might help:
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/45da9619d24b61bb869c31ef3b780a/frameset.htm
    -Michael

Maybe you are looking for

  • BW Download to excel - extra login window - no direct BW user possible

    Hi All, When we download a report with a hierarchy from BW to Excel we are asked to logon again. We would like to remove this logon and download the objects directly when exporting to excel. In note 516884 we found an option for removing the extra lo

  • International characters and mod_plsql

    We are having troubles with mod_plsql translating international characters. Here is the scenario: We have an HTML form whereby the user can enter a letter. If they enter the letter 'X', by the time it calls the ACTION in the html form, it has changed

  • Download the korean text file using ANSI as encoding

    Hi Experts, i am using gui_download to create a txt file using ANSI as its encoding, the data that i need to download contains korean characters (double-byte characters), when the txt file is created, the korean characters were changed into ### symbo

  • Migrating from Plumtree 5.02 to 5.04

    Hi, We plan to migrate from 5.02 to 5.04. Is there a document around about this type of migration?If not, there are some issues: - is the database the same? what other changes must be performed other than redirecting the portal50 ODBC connection? Any

  • Toplink vs hibernate

    hi who can i determine which technology is better to use with oracle. Toplink or hybernate mostly we use hybernate but I want to know why toplink is better than hybernate thanks Message was edited by: Doug Clarke