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..

Similar Messages

  • 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

  • How to hide portlet

    Hi,
    Can someone help me to do this ? :
    I've got a two columns layout page P1.
    On the left side i have the pageflow portlet A.
    On the right side i have the pageflow portlet B.
    When i click on page P1, the portlet A display a form and the portlet B is hidden.
    When i submit the form (in portlet A), the result appears in portlet A and the portlet B becomes active and displays a form.
    When i submit the form (in portlet B) the results appears in portlet A (the portlet B dispalying the previous form).
    Thanks for your help.

    so you want to hide a portlet.
    from a backing file just return false from the preRender() phase
    or
    call PortletBackingContext.setVisible(false);
    you can do this from the current backfing file or from some other portlets backing file by discovering the other portlets baking context via
    DesktopBackingContext.getPortletBackingContextRecursive(String instanceLabel)
    Chris Jolley
    Portal Architect

  • 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 can hide parameters in url (calling reports)

    hi,
    in portal i'm running reports.
    report url is like this;
    http://myportal/reports/rwservlet?report=report.rdf&p_userid='||v_userid||'&cmdkey=conn_ybs_1'
    when antone calls report the userid parameter shown in url.
    for example;
    http://myportal/reports/rwservlet?report=report.rdf&p_userid='||65874||'&cmdkey=conn_ybs_1'
    i don't want to show parameters value to users
    how can hide this parameter in url?
    thanks.

    in portlet i get userid
    v_userid := wwctx_api.get_user;
    and use v_userid the following portlet.
    bq. &lt;HTML&gt; \\ &lt;BODY&gt; \\ &lt;ORACLE&gt;declare \\ p_authid varchar2(50); \\ p_personel_turu varchar2(1); \\ v_userid varchar2(10); \\ begin \\ p_authid := wwctx_api.get_user; \\ p_personel_turu := substr(p_authid,1,1); \\ v_userid := substr(p_authid, 2,8); \\ htp.p(' \\ &lt;table border="0" width="100%" cellpadding="0" cellspacing="0"&gt;&lt;tr&gt;'); \\ if p_personel_turu = 'I' then \\ htp.p('&lt;td width="100%" bgcolor="#7496ec" align="left"&gt;*{size:2}{color:#ffffcc} &lt;img border="0" src="\img\resimler\bullet\bullet.gif" align="middle" width="19" height="19"&gt;{color}{size}{font:Verdana}{size:2}{color:#ffffcc}D&ouml;rt Aylık Vizite Kağıdı{color}{size}{font}*&lt;/td&gt; \\ &lt;/tr&gt; \\ &lt;tr&gt; \\ &lt;td width="100%" bgcolor="#ffffff"&gt;{font:Verdana}{size:1}{color:#006699} İş&ccedil;i Personel D&ouml;rt Aylık Vizite Kağıdı{color}{size}{font}'); \\ htp.anchor(curl=&gt;'http://myportal/reports/rwservlet?report=report.rdf&p_userid='||v_userid||'&cmdkey=conn_ybs_1',ctext=&gt;'*{font:Verdana}{size:1}tıklayın.{size}{font}*&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td width="100%"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;',cattributes=&gt;'target="_blank"'); \\ end if; \\ htp.p('&lt;/tr&gt;&lt;/table&gt;'); \\ end; \\ &lt;/ORACLE&gt; \\ &lt;/BODY&gt; \\ &lt;/HTML&gt;

  • How to make a portlet unvisible for another(not Owners) Users?

    Hi all,
    I (Site-Owner) have create a little Portal-Site with any portlets.
    I want to make one or two portlets(Admin-Area) unvisible for other users. But when I create a portlet as Site-Owner, then all another users can they see.
    How to make a portlet unvisible for another users?
    Regards
    Leonid Pavlov

    You can hide and show portlets of Web providers (OmniPortlet, Web Clipping, and Java portlets) on portal pages dynamically. This functionality is controlled by security managers. The PDK provides a number of security managers. For example:
    o Group security manager: The group security manager makes the portlet appear to users who are members of a specified group, while hides the portlet for those who are not members.
    o Authentication level security manager: You can use the authentication level security manager to control access to the portlets based on the user’s authentication level. For example you may hide the portlet from public users, but display it to authenticated users.
    In addition to the security managers provided by the PDK, you can build your own security managers.
    Although OmniPortlet and Web Clipping do not expose security managers through the user interface, you can apply them by editing their XML provider definition file.
    For PL/SQL portlets you can use the is_runnable method to control whether the portlet is hidden or shown.
    Peter

  • Hide show portlets programmatically

    Hi,
    i have to show/hide one portlet programmatically, how can i achieve this.
    for example if session user data is null the portlet will be shown else hidden.
    Please help.

    Urgent Issue... ..
    Any help Please..

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

  • How to hide some select-option of Logical Database in report?

    How to hide select-option of  Logical Database in report?eg . In Logical Database 'PNP' , my code is 'GET  PERNR' , excute the report , select-screen is displayed . I want to hide some select-options , such as PNPPERNR-LOW .
    Edited by: rongrong wang  on Mar 26, 2008 9:31 AM

    U need to write code in initialization as
    initialization.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW'.
    screen-active = '0'.
    modify screen.
    endif.
    if screen-name = 'PNPPERNR-HIGH'.
    screen-active = '0'.
    modify screen.
    endif.
    endloop.

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How to hide a list from SharePoint tree view pro grammatically.

    Hi,
    I have enabled tree view for a SharePoint 2013 site pro grammatically. 
    I want hide some specific lists from that tree view like Documents, Workflow, Task List, Calender
    Lists which are created default when we create a site.
    How could i do that?

    I know how to hide Quick launch and Enable Tree view with properties in C#.
    My question is 
    hide some specific lists from that tree view like Documents,
    Workflow, Task List, Calender
    Lists which are created default when we create a site.

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • How to hide only pause button on toolbar in run time

    hello,
    I had hide all the buttons like run, run continuous, abort vi and others by navigating to VI Properties and unchecking the corresponding options.
    when i run the vi, all becomes hide except pause button and i didn't find any option for hiding it manually as well as programatically.
    can any one tell me how to hide pause button. i have an urgent requirement for same.
    Thanks & Regards,
    Samriddh Sarbalhi
    Solved!
    Go to Solution.

    wprice wrote:
    I just found that the option called "Show Toolbar When Running" is located under VI Properties > Windows Appearance > Customize. I disabled it and it worked. Thanks!
    So, the option I mentioned is still available, but only at a different place.
    I was shocked on seeing your earlier reply, "There is no such option in LabVIEW 9.0 or higher.". 
    - Partha
    LabVIEW - Wires that catch bugs!

  • How to hide Compounding object in report

    Hi friends
    We want to display region in our reports , But when I execute the query region is coming along with county (eg: US/TX , US/CA etc..) ...this is because of country is a compunding object of region...Can any body let me know how to hide country ...We just want to show TX,CA etc..
    regards

    Please search...this has been answered many times here.

  • How to hide Bottom Line in Report ?

    Hi everyone,
    We are working on Reports 11gr2 64-bit.
    In every report, when text is completed on a page, a horizonal line (i.e. bottom line) at the end of the every page is shown and printed unnecessarily.
    But creates problem in printed stationary, specially in Cheque-printing.
    Kindly advise me how to hide this bottom-line, specially in printing.
    Thanks.
    Dev.
    Edited by: ocpdev on Apr 5, 2013 6:29 PM

    HI
    Is these reports are developed on 11g or migrated from earlier version.
    Anyhow, to test it, - create a report from scratch on 11g and run it, Also check the Footer for any Lines on it.
    I hope you can identify the issue by redoing the thing for testing
    Best of luck
    ocpdev wrote:
    Hi everyone,
    We are working on Reports 11gr2 64-bit.
    In every report, when text is completed on a page, a horizonal line (i.e. bottom line) at the end of the every page is shown and printed unnecessarily.
    But creates problem in printed stationary, specially in Cheque-printing.
    Kindly advise me how to hide this bottom-line, specially in printing.
    Thanks.
    Dev.
    Edited by: ocpdev on Apr 5, 2013 6:29 PM

Maybe you are looking for