How to hide/show book, page, portlet programmatically

Hello,
The situation is I have few books and have pages within the books. In page, I have few portlets. The problem I try to solve is when user login, based on user role, I selectively show the books, pages and portlets.
Can anyone give guideline on this ?
Thanks in advance,
Li

"Chris Xu" <[email protected]> wrote in message
news:8877896.1094662465884.JavaMail.root@jserv5...
The situation is I have few books and have pages within the books. Inpage,
I have few portlets. The problem I try to solve is when user login, basedon
user role, I selectively show the books, pages and portlets.
Can anyone give guideline on this ?Use entitlements for this, see
http://e-docs.bea.com/wlp/docs81/adminportal/help/VE_OV.html
Gerald

Similar Messages

  • How to hide/show dashboards for user/groups

    Hi,
    Please help on how to hide/show dashboard menu/sub menu to users/groups based on their profile settings.
    thanks in advance.
    regards,
    kumar.

    Hi Jinu,
    1) Do some or all of those subreports span multiple pages?
    2) Do each of the Subreports start on a new page?
    If yes, for both, then here's what you need to do:
    1) Create a formula (@True) with this code:
    shared booleanvar SetStatus:= True
    2) Create another formula (@False) with this code:
    shared booleanvar SetStatus:= False
    Drag and drop the @True formula on the details sections for which you want the Page Footer to be suppressed.
    Similarly, drop the @False formula on the details sections for which you want the Page Footer to show up.
    Then, go to the Section Expert > Select Page Footer c > Click the formula button beside Suppress and use this code:
    shared booleanvar SetStatus;
    -Abhilash

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • OS 10.10 how to hide/show a folder with a password using terminal

    In Yosemite 10.10.2 Terminal Can you please tell me how to hide/show with a password then show again on already existing folder created on a system drive and also an external drive. Please provide the path text to folder name "wbfiles". Thank you Winwoodb

    You can drag it from one place on a drive to another.  If you are moving it from one drive to another then it copies it.  If you are moving it on the same drive and are getting that message then not being able to move the folder is the least of your problems.  Free up space immediately because your computer is about to crash and probably lose files.  Then you'll have lots of space.

  • How to hide/show chart at runtime

    Hi All,
    Can anyone help me in how to Hide/Show a chart at runtime.
    Thanks & Regards
    K.Srinivas

    Hi
    THere is simple way of doing it. Follow the steps below -
    1. Create 'Radio Button' in another form.
    2. Create 2 buttons in it e.g - 1=Show & 2=Hide.
    3. THen there is option as 'Visibility Condition' on Chart 'Properties'.
    4. Write condition as - IF('Form Tech name'@ST1=="1",true,false)
    here ST1 is tech name of the radio button you can select it in formula option.
    5. Then make 1 or 2 as default value.
    You can change radio button at run time & you can show or hide the chart.
    Let me know if you have any issue.
    Regards
    Sandeep

  • How to hide/show and move screenelements at runtime

    Hi Guys
        Currently, i have a requirment that, in the same screen, when user choose different different option in the dropdown list, there should be different screenelements and table control with different columns showing below it.
    Now, i have two plans below:
    1), hide/show and move position of screen elements and table control at runtime
    2), call different subscreen
    I hope i can take the first way since the second way will modify structure of program ( As it is infotype screen ), any one knows how to implement the first solution?

    Hi,
    I would suggest you to call different subscreens and load them dynamically based on your parameters.Since different subscreen are called your coding and functionality could also be seperated by writing in the PAI and PBO of the correspondiong Screens.
    if you have decided to go by your first method then try the below code.
    a) if it is normal UI elements like text box etc
    LOOP AT SCREEN.
        IF <var> = ' value '.
            screen-invisible = '0'.
            MODIFY SCREEN.
      endif
    ENDLOOP.
    Here <var> refers to the screen field name and value refers to its value.
    b) To hide columns in a Table control.
    DATA cols LIKE LINE OF tc-cols.
      LOOP AT tc-cols INTO cols.
        IF cols-screen-group1 = 'G1'.
          cols-invisible = 'X'. "HIDE THIS COLUMN
          MODIFY tc-cols
          FROM cols
          TRANSPORTING invisible.
        ENDIF.
        CLEAR cols.
      ENDLOOP.
    PS: here TC refers to the name of the table control.
    Lemme know if you face any problems.
    Cheers,
    RK

  • How to view iPhoto book pages full screen

    I have made a book in the latest version of Aperture. Now I want to view the pages of my book in full screen view - the book, not the individual pics. It would be great if I could make the book pages into a slideshow too. I can't work it out - HELP!!!

    Welcome to the forum.
    It's a bit of round robin, but you can make it a slide show. Go to File >> Print Book. In the print dialog click the PDF button in the lower left corner and choose "Save PDF to Aperture". This will bring up the import PDF Import dialog. Choose either Tiff or JPEG, and either chose a project or create a new one to save it in. Voila! You now have images of the pages to make a slideshow with. You still may want to crop the borders off the pages.
    DLS
    !http://dlsphoto.com/a3pdfImport.jpg!
    Message was edited by: DLScreative
    Message was edited by: DLScreative

  • How to call one book page to other book page ?

    I have a portal application having different books that contains different pages.
    i want to call(URL Link) other book pages from my current book page. how to implement this concept ?
    thanks
    xmlkings

    In the JSP of the calling page do the following:
    Step 1.
    In your Portal (yourPortal.portal) go to the page or the book which is your destination page. In the property editor enter a unique name for the Definition Label. For example pg_first. Note that in Step 2 pageLabel will equal to the Definition Label.
    Step 2.
    <render:pageUrl var="somePage" pageLabel="pg_first" />
    <netui:anchor href='<%=somePage %>' >
    Click to Some Page
    </netui:anchor>
    Hope this helps.
    Mansoor

  • How to hide the cover page when printing ?

    Dear all,
    I would like to change printings option for the report S_ALR_87013611.
    I would like to hide the cover page (with parameter) when printing.
    How can I do that ?
    Thanks for your help
    Best regards

    Hi,
    Do you mean the part of the report, which contains the report name, selection date, controlling area,
    Fiscal year, and other selection data?
    If yes, then you could proceed as follows: As the 1SIP-001 (S_ALR_87013611) is a standard report, please copy this report with name in the customer naming range and then delete the title page from the copied report as follows:
    1.  Call GRR2, in the library 1VK place the cursor on report 1SIP-001 and click on the icon 'Copy'
    2.  In the 'To report' field enter (for example) ZSIP-001 and press  'Enter'
    3.  Now double-click on ZSIP-001 to enter the report definition.
    4.  Under 'Extras' -> 'Report texts' -> 'Title page' call the title page.
    5.  Choose 'Text' -> 'Delete' and the title page lines are removed.
    6.  Click on the 'Save' icon to save this.
    7.  Assign the report to a new report group by choosing 'Environment'
       -> 'Assign report group' from the menu and enter ZSIP in the popup,
       confirming the next popup that the report group should be created.
    Now call txn GR55 and execute report group ZSIP with your selection
    criteria and follow the steps to print the report:
    - click 'printer icon' - mouseover text 'Print (ctrl+P)'
    - click OK with dot in 'current report'
    - click OK with dot in 'Print formatted report (page length 59)
    - on print parameter screen in menu, blank the 'SAP cover page' field.
    Regards,
    Greta

  • How to hide discoverer connection page after opening discoverer plus?

    Hi,
    I invoke the following url in browser window 1 to open Oracle DIscoverer Plus.
    I notice the browser window 1 will open a window (say i call it browser window 2) to display the Oracle Discoverer Plus application.
    Once the Oracle Discoverer Plus java applet is fully loaded, the browser window 1 will show the Connect to Discoverer Plus page.
    I wonder if we can configure not to show this page as my users might confuse to see a few existing connections listed there and in fact if possible, I don't want user to see the list of connections.
    Anyway to get rid of the page?
    Please advise.
    Thank you.

    I am trying to use URL parameters to keep Discoverer Plus from launching a new window after login. I notice that what works in Discoverer Viewer does not work in Discoverer Plus.
    The following works with Discoverer Viewer :
    <iframe src="https://cohort50.spinsys.com:8251/discoverer/viewer?framedisplaystyle=embedded"
    width="100%" height=100%></iframe>
    After Viewer login the next page displays in the same window, just as I want it to.
    Discoverer Plus behaves differently. If I try this with Discoverer Plus a new window is launched after successful login. I also tried adding the pluspopup=false parameter to the URL, but the problem remains.
    Neither of the following two fragments prevent a new window from launching after successful login to Discoverer Plus :
    <iframe src="https://cohort50.spinsys.com:8251/discoverer/plus?framedisplaystyle=embedded"
    width="100%" height=100%></iframe>
    <iframe src="https://cohort50.spinsys.com:8251/discoverer/plus?framedisplaystyle=embedded&_plus_popup=false"
    width="100%" height=100%></iframe>
    Does anybody have any advice for me? What must I do?

  • How to hide/show a menu item?

    Hi,
    Pls suggest how to do this:
    There is one book( say "one") and one page (say "two") on the portal, which are displayed to user as menu items.
    The book has two pages ( say 'a' and 'b'), which are shown in the menu dropdown of "one". I want to show the menu item "two" only if the user selects 'a' and hide it when select 'b'.
    meny item 'b' is a page with one portlet.
    Pls suggest.
    thanks

    You can implement this with backing files.
    See http://e-docs.bea.com/wlp/docs81/ipcguide/backing.html for further details.
    --Stefan                                                                                                                                                                                                                                                                           

  • How to hide/show reports region with radio group selections

    Hi, I have an HTML region with a radio group of two choices (Rpt1 and Rpt2). Also got two other report regions which depend on the radio group selections and by pressing a button it will display records.
    Everything does work perfect BUT say I select Rpt1 and press the report button it will show the records and after that if I select the Rpt2 radio button I still see the result of Rpt1 records. How can I clear or hide the reports regions when I change my radio button selection?
    Thank you
    -iahmadi

    Hi,
    You can create HTML regions that do not need to contain anything at all (use the "No Template" region template to ensure that you don't see a region Title on the page).
    However, in order to get this region to be displayed until the Report button is clicked, you would need to have a hidden page item (called, say, P1_SHOW_REPORT) that has, as a default, 0 as a value. The branch that is triggered by the Report button would then set this item to 1 - so, 0 = hide and 1 = show
    On your page you should have a branch that is conditional on the Report button being clicked. On this branch, set the first "Set these items" to P1_SHOW_REPORT and "With these values" to *1*. You should also have a branch on the page that is unconditional - meaning that it can be triggered by anything that submits the page. Firstly, this branch should have a high Sequence Number (say, 99) and secondly, should should set the value of P1_SHOW_REPORT to *0*. So the Report button sets it to 1 and anything else (which will include the radio button selections) will reset it to 0.
    Now, on your regions you have to change the conditions slightly as we now have two conditions to check - which report has been selected and whether or not the Report button has been clicked.
    This can be done by using a SQL Exists condition of something like:
    SELECT 1 FROM DUAL WHERE :P1_SHOW_REPORT = 1 AND :P1_RADIO = 'ABC'(where ABC is the value for the radio button for the report
    The "blank" region would also have a condition - that would be a simple Item = Expression 1 condition of P1_SHOW_REPORT = 0
    Andy

  • How to hide/show main report footer for a sub report ?

    Need to hide main report footer for a sub report(having more than one page and need to hide footer for all those pages).And again make it visible for another sub report which also have more than one page (and do the same to all of its pages)
    I have tried with formula
    WhilePrintingRecords;
    Shared BooleanVar SuppressFooter := True;
    WhilePrintingRecords;
    Shared BooleanVar SuppressFooter := False;
    with this formula main report footer is shown only on last page of sub report where i need it in all pages.
    Any solution??

    Hi Jinu,
    1) Do some or all of those subreports span multiple pages?
    2) Do each of the Subreports start on a new page?
    If yes, for both, then here's what you need to do:
    1) Create a formula (@True) with this code:
    shared booleanvar SetStatus:= True
    2) Create another formula (@False) with this code:
    shared booleanvar SetStatus:= False
    Drag and drop the @True formula on the details sections for which you want the Page Footer to be suppressed.
    Similarly, drop the @False formula on the details sections for which you want the Page Footer to show up.
    Then, go to the Section Expert > Select Page Footer c > Click the formula button beside Suppress and use this code:
    shared booleanvar SetStatus;
    -Abhilash

  • How to hide /show any attribute based on LOV ?

    i have a pages which have three attribute .which are following -
    1-one is LOV
    2-input text
    3-also input text
    if i select some value from LOV i want to hide one input text .how does i achieve this
    thanks
    Edited by: ADFORCLE on Jul 12, 2011 9:09 AM

    if your Jdeveloper version is not 11.1.2, check this
    http://www.oracle.com/technetwork/developer-tools/jdev/listbindingvalue-088449.html
    >
    In JDeveloper 11.1.1.x, an expression like #{bindings.JobId.inputValue} would return the internal list index number when JobId was a list binding. To get the actual JobId attribute value, you needed to use #{bindings.JobId.attributeValue}. In JDeveloper 11.1.2 this is no longer needed, the #{bindings.JobId.inputValue} expression will return the attribute value corresponding with the selected index in the choice list.
    >
    Edited by: M.Jabr on Jul 11, 2011 9:05 AM

Maybe you are looking for

  • How to design a call back service ?

    Hi, Could you help me understand whether this is possible or whether I am on the right track with what I am trying to achieve? Client (C# Winform) ---- Send a Message to Service Bus [SB] Please Keep in mind that Client can be ASP.NET MVC/Mobile App.

  • Photoshop and Illustrator sometimes hang when working together (CS 5.5)

    Hi all, I'm working with Adobe Creative Suite Design Premium 5.5 and sometimes, when I have Photoshop and Illustrator opened together, if I try to open something a little more complex (but not to heavy), one of the programs hang or freeze. This is a

  • Printing quality problem with Photosmart D110

    The printing quality is very bad after we changed the catridge. The printer keeps saying that there is catridge jam. But after I followed the steps by the printer, the problem is still unsolved. What is the possible reason and how could I solve it?

  • The screen of my iPhone turns yellow~!why?????

    The screen of my iPhone turns yellow~!   Why????? I want to change another one! But apple said no!!!! I am very angry!!!!!!!! The screen is too bad!!!

  • Safari 8 has suddenly become painfully slow (Not network related)

    Since yesterday, Safari has stopped working properly. Nothing has changed in my computer set up or in the applications that I use. I'm running the latest update (Version 8.0.2 (10600.2.5)) on OS X Yosemite 10.10.1 (14B25). I have a 21" mid-2011 iMac