How to hide and show Omniportlet based on user privileges

hi all
I am trying to hide or show an Omniportlet based on user privileges, which means accessc control on portlet-level for Omniportlet. But I couldnt find out how to do it.
According to Portal Developer's Guide:
You can hide and show portlets built with Web Clipping and OmniPortlet on portal pages dynamically by using security managers. Although Web Clipping and OmniPortlet do not expose security managers through the user interface, you can apply them by editing their XML provider definition file.
Question is: where can I find that XML file? Is this file accessible and configurable somewhere through Portal Enterprise Mgr?

Hi,
I don't think you can edit this file through Enterprise Manager. Atleast as far as I know. But its available on the server. I have a NT installation and I found it under:
D:\oracle\Mid_tier\j2ee\OC4J_Portal\applications\portalTools\omniPortlet\WEB-INF\providers\omniPortlet
You might want to restart the Portal application through OEM after you change this file.
Hope this helps,

Similar Messages

  • How to hide and show button based on if row is selected in tabular form

    Hi,
    Im pretty new to apex. I am using version 4.1. I have a tabular form and what i want to do is only have the delete button show if i select a row from the [row selector] column. Can this be done using a dynamic action? I have tried it that way unsuccessfully. Please help or let me know if you need any more information.
    Thanks

    Do you mean if the check box is selected in the row?
    Assign a static ID to the delete button, e.g. MY_DEL_BTN. Look for "Static ID" under the Attributes section of the button.
    If so, make an advanced Dynamic Action based on Click and a jQuery selector. Usually, this element is name "f01" but, you need to make sure. Assuming it is "f01" then your jquery selector would be:
    input[name="f01"]set the event scope to live.
    Your dynamic action will fire JavaScript. (BE SURE TO UNSELECT FIRE ON PAGE LOAD). To make sure you have the right jQuery selector, at first just put a pop up message in the JavaScript.
    alert('You Clicked the Row Selector!');Run the page. Click the row selector. If you get the pop up you have specified the jQuery selector correctly. Yay!
    Then, assuming the above is correct. You can now determine if any have been selected.
    Now, set it back to SELECT TO FIRE ON PAGE LOAD (You want the delete to be hidden when you first open the page).
    Change your JavaScript to this:
    var checkedCnt = $("input:checked").length;
    if( checkedCnt > 0 )
       $('#MY_DEL_BTN').show();
    else
       $('#MY_DEL_BTN').hide();
    };-Joe

  • How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?

    How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?
    I have multiple images in  my App folder. I want to use and show those images dynamically  in windows phone 8 map application

    There are a lot of different ways to do this. One simple method is to use a switch statement when creating your pushpins and based on some property in your data, select the icon you want to use and create your pushpin accordingly.
    http://rbrundritt.wordpress.com

  • How to animat hid and show

    Hi All,
    How we can achive animation on hide and show behaviour in adf.
    Regards,
    Smaran

    expose your button and component into ab bean.
    and create actionListener method for your button. and use this code.
    if(item.isRendered()) // item is the biding name for your component in your bean
      item.setRendered(false);
    else
    item.setRendered(true);
    }

  • Next Button in a Hide and Show Region is not displayed correctly

    I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region. I want it displayed at the right end of the bottom of the region. The following is the button properties
    Name
    Button Name : NEXT_SIGNS
    Text Label/Alt: Next >
    Displayed
    Sequence            130
    Display in Region: Signs and Nameplates (1) 100
    Button Position:    Bottom of Region
    Button Alignment: Right
    Attributes
    Static ID:          
    Button Style:      Template Based Button
    Button Template: PA Button
    Button Type:       Hot
    Button Attributes:
    Action When Button Clicked
    Action:                 Submit Page
    Execute Validation: Yes
    Database Action:    No Database Action
    Conditions
    None
    Security
    None
    Configuration
    NoneWhy is this occurring and how can I resolve the issue?
    The following is the template of the hide and show region:
    <div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="hide-show-top">
        <div class="hide-show-title">
    <div class="rounded-corner-region">
    <div class="rc-blue-top">      
    <div class="rc-blue-top-r">
              #TITLE#</div>
    </div>
    </div>
           <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
        <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
      </div>
      <div class="hide" id="region#REGION_SEQUENCE_ID#">#BODY#</div>
    </div>APEX version 4.1
    DB version 10g Rel 2
    PLEASE HELP!!
    Robert
    http://apexjscss.blogspot.com

    I created a new button at the bottom of the region in a Hide and Show Region called [Next >]. The button is displayed to the right of the region.I only see it displayed to the right of the region in Firefox (Safari and IE8 showed it above the sub-regions). Not obvious to me why this is the case (it's usually IE that does it's own thing).
    I want it displayed at the right end of the bottom of the region.Button position Bottom of Region causes an anonymous HTML table containing the button(s) to be generated after the <tt>#BODY#</tt> placeholder in the region template. Your Hide/Show region template didn't have a <tt>#SUB_REGIONS#</tt> placeholder so by default the sub-regions were rendered after the <tt>#BODY#</tt> and the "Bottom of Region" button container (don't know if this is the intended behaviour or a bug). Adding <tt>#SUB_REGIONS#</tt> before <tt>#BODY#</tt> in the template gets things in the right order (button after sub-regions):
    <div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
      <div class="hide-show-top">
        <div class="hide-show-title">
    <div class="rounded-corner-region">
    <div class="rc-blue-top">      
    <div class="rc-blue-top-r">
              #TITLE#</div>
    </div>
    </div>
           <a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_2/rollup_minus_dgray.gif');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_2/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" />Click on arrow to enter/hide  information for signs and/or nameplates</a></div>
        <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
      </div>
      <div class="hide" id="region#REGION_SEQUENCE_ID#">
        #SUB_REGIONS#
        #BODY#
      </div>
    </div>Firefox is still showing the button to the right of the sub-regions. I'm assuming that this has something to do with everything in this theme being floated left (for reasons that escape me), so we'll try to clear the button container using CSS. The table doesn't have an ID or class so try an adjacent sibling selector using the ID of the preceding sub-region:
    #nameplates-name+table {
      clear: both;
    }Finally, the button alignment was set to "Left", so I changed it to "Right".
    Seems to be working in IE8 (all I have access to at present).
    Edited by: fac586 on 30-Nov-2012 20:10
    Fixed CSS selector syntax.

  • Hide and show portlets

    Hello all,
    I have created two forms and two reports and added them in a page as 4 portlets like this...
    FORM1                    REPORT1             
    FORM2(Hidden)        REPORT2(Hidden) 
    ---------------------------------------------------------By default Form2 and Report2 are hidden..
    If I click the link on Report1...
    Form2 and Report2 should be visible....
    How can i acheive this..
    I hope someone suggest me a good solution..
    Thanks a lot in advance..
    Regards,
    Paappu.

    I do not think it is advisable to use page properties to hide and show portlets on them on user interaction. This assumes that we can do it by changing the display properties of those portlets on Page.
    The reason is this: If I am a user of your portal and visited one such page, I would see Form1 and Report1 on the page.
    Let us say, I clicked on some link you are planning, and then I started seeing Form2 and Report2 on that same page.
    However at the same time, you also visited on the same page right after I had clicked on that link. Then you will also see Form2 and Report2. And so the state of the page will be changed for all users after the first user's action.
    Is it actually what you would intend to do? that different users will see different pages based on who has visited the page before them?
    that is why I would not recommend it. Hope that helps.
    AMN

  • Hide and show region and an interactive report showing side by side

    Hi,
    I have a report and some filters (drop down list) on a page... I've put my filters in a Hide and show region...
    Here is how it's been set up...
    Display Point: Page Template Body (1)
    20           Filters     HTML     
    Display Point: Page Template Body (2)
    10           Report Saved Report     
    my issue is that the filters and report search region shows side by side in a same row... tried changing the regions but still getting the same response... Please advice

    Hi,
    Place both regions to Display Point: Page Template Body (3).
    Then set filters region sequence to 10 and report 20
    If that is not what you need, please specify more how you like layout look like
    Regards,
    Jari

  • Sticky hide and show not working

    I believe I have followed Carl Backstrom's Sticky Hide and Show Region example to the letter for my own application.
    1 - I have the application items and application processes in place.
    2 - I have the javascript in the HTML Header attribute
    3 - The SHOW_HIDE_MEMORY package is in place
    4 - I edited the Hide and Show Region template
    I'm on Apex version 3.0.0.00.20
    The collection does not seem to be getting populated. I'm wondering if the region template which includes this code is not working: onclick="$r_ToggleAndSave(this,'#REGION_ID#')" id="#REGION_ID#img"
    My regions are always collapsed when I navigate away and return to the page and the collection is always empty. I've checked the state of the temporary item after clicking the expand (+) button and the value is always null.
    Any help would be greatly appreciated.
    Thanks, Todd

    Hi Carl,
    I'm not seeing any obvious errors on the screen or in the message bar. I just downloaded the Firefox javascript debugger extension. I'm not exactly sure how to use this tool, but when I expand a hidden region, I do see this message in the debugger screen:
    Warning ``reference to undefined property this.onShutdown_'' [xs] in file ``file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSafebrowsingApplication.js'', line 1710, character 0.
    Error ``node has no properties'' [xs] in file ``http://dsi3.gfc.iowa.com:7777/i/javascript/htmldb_html_elements.js'', line 25, character 0.

  • Hide and Show - Toggle image

    Hi:
    Okay - I admit it! I am completely baffled.
    I am trying to use custom "click" images for my hide and show region. I am using a modified version of Theme 20 in Apex 4.0.
    I have created two little images, one for open state and one for closed. I have managed to get the "open" image to display and it is clickable and the region closes, but the image does not toggle.
    In the region template, I find the following:
    onclick="htmldb_ToggleWithImage(this,'#REGION_STATIC_ID#_body')"
    Clearly, this is to toggle the image. But, how does it know what image to use? Which image to replace the oen state image with. I am not understanding how it selects the second image.
    Please, please, can someone explain to me how to get the toggle to work properly with my custom images.
    Thanks in advance.
    Regards,
    Bruce

    So, I figured it out myself.
    the function htmldb_togglewithimage actually takes the 'puls' string in the image name and changes it to 'minus'. So your images have to be maned something like:
    my_image_plus.gif
    my_image_minus.gif
    without uswoing this maning convention - it will not work.
    Bruce

  • Hide and show text

    Hi how can i hide and show text on a form

    set_item_property('blockname.itemname',visible,property_true);
    set_item_property('blockname.itemname',visible,property_false);

  • Hide and Show Region

    Hi,
    I have created a report with multiple regions. Each region, I set the User Interface-- Template as 'Hide and Show Region'. Each region is having a separate report with input parameters and Go button.
    The problem is , After entering the input parameters and clicking the Go button, the region is closing(collapsing) automatically. I have to expand it again to see report output. This is because of Hide and Show Region. I want to stop this auto hide on clicking the Go button.
    Please help me how to do this.
    Mohan

    <table class="t20Region t20HideShow" id="#REGION_STATIC_ID#" border="0" cellpadding="0" cellspacing="0" summary="" #REGION_ATTRIBUTES#>
    <thead>
    <tr>
    <th class="t20RegionHeader">#TITLE#<img src="#IMAGE_PREFIX#themes/theme_20/collapse_plus.gif" onclick="$r_ToggleAndSave(this,'#REGION_STATIC_ID#')" id="#REGION_STATIC_ID#img" alt="" />
    </th>
    </tr>
    </thead>
    <tbody id="#REGION_STATIC_ID#body" style="display:none;">
    <tr>
    <td class="t20ButtonHolder">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#
    </td>
    </tr>
    <tr>
    <td class="t20RegionBody">#BODY#</td></tr>
    </tbody>
    </table>
    글 수정: user9530063

  • Hide and show region - save state after submit

    hey guys,
    I have a hide and show region template in my page. It is hidden by default(that's perfect). If the user opens the page and submit, the region collapse.
    I want to save this status.
    I searched a lot in this forum. Also found a lot about the *"sticky hide and show region"* feature by Carl, but you can't download this feature anymore :-/
    How can I receive that, without this feature?
    maybe with dynamic actions?
    Hope you can help me.
    Locke
    Edited by: Locke90210 on 17.05.2013 00:30

    OMG I'm to silly for that...
    The status of the hidden item is always expanded...It doesn't change.
    Maybe I always uses the wrong classes.
    <table class="t5HideandShowRegion" id="#REGION_ID#" border="0" cellpadding="0" cellspacing="0" summary="">
      <tr><td class="t5RegionHeader">#TITLE#<a style="margin-left:5px;" href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif','#IMAGE_PREFIX#themes/theme_5/rollup_minus_dgray.gif');" class="htmldbHideShowMinLink"><img src="#IMAGE_PREFIX#themes/theme_5/rollup_plus_dgray.gif"
      id="shIMG#REGION_SEQUENCE_ID#" alt="" style=""/></a></td></tr>
    <tr><td nowrap="nowrap"><div class="t5Hide" id="region#REGION_SEQUENCE_ID#"  style="display:none;"><div class="t5ButtonHolder">#CLOSE#<img src="#IMAGE_PREFIX#themes/theme_5/1px_trans.gif" height="1" width="15" alt=""/>#PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##HELP#</div><div class="t5RegionBody">#BODY#</div></div></td></tr>
    </table>Maybe you can say, which classes I have to use.

  • Hide and show button

    hi , i want when i click on show button then the show button hide and the hide button show , and vice versa , how i will do that through java script or any method plz help

    Hi little foot ,
    I am using apex 4.0
    can you tell me how to make the hide and show region to open it on sidewise now its opeing in downwards direction can you tell me .
    Thanks & Regards.
    Shadab

  • Dock "automatic hide and show" broken

    Folks:
    This morning I noticed the "automatic hide and show" of the Dock is broken. No matter how long I put the mouse pointer in the area of the Dock, it doesn't pop up.
    There are only two ways I can access the dock now. One is to set the Dock size sufficiently big (about 40% or more seems enough) and it simply stays visible all the time. Another, if the Dock size is set lower than 40%, is to keep the Dock preference box open and manually toggle "Automatically hide and show the Dock" checkbox.
    Hmmm, I see right now that the Dock is hidden, but the name of an application is displayed just above the bottom edge of the screen. This app is launched, but I've not used it at all this morning. Yep, show the Dock, the name is in the "right" place, but it should not be visible at all.
    I tried re-starting the Finder. No difference.
    I just updated to 10.4x recently, and applied the latest updates as they became available (Friday, I think), so it is hard to tell what to point a finger at...
    OK, I'm going to restart and see if that helps... but shouldn't have to do this. Something got broken recently.
    Henry
    P.S. the OS pulldown doesn't show 10.4.8 so I can't use that to tell you I'm running 10.4.8.

    Repair Disk Permissions" from Disk Utility may help you.
    Also, you can create a new user account and check things there.
    Last, you can trash Dock preference file from your home directory:
    ~/Library/Preferences/com.apple.Dock.plist
    Mihalis.

  • XCB - how to launch and show an application (terminal for example)?

    Hello, everyone!
    I'm trying to learn XCB, but all of the tutorials I've found so far do not explain how can XCB used as a window manager.
    I understand how to draw a single window and add a string to it, but how can I launch something from it and show it to the user?

    XCB is an implementation of the client side of the X protocol.  In other words, it's a library for writing X applications and window managers; it's not a window manager itself.
    If you're interested in learning about how window managers launch applications, you probably want to read up on fork() and execve().  This is essentially how all processes are created on a Linux system (from init, a shell, window manager, etc.).
    Also, if you're interested in learning how window managers work, a good place to start might be tinywm.  It's a single C file intended to be the bare minimum to be a window manager.  It uses Xlib though, not XCB, but at this point your goal should be to understand the concepts.  Somebody out there may have created an XCB version by now, anyway...
    Last edited by cmtptr (2013-09-07 16:43:52)

Maybe you are looking for

  • How can I re-insert pages into a PDF?

    Hi- it will become obvious that I am new to Illustrator (Creative Cloud 2014 on a Mac, for what it's worth).  I am editing a brochure and when I opened the PDF with Illustrator I was asked to select a particular page on which to work.  Now that I hav

  • Creation of routing using BAPI_ROUTING_CREATE

    Hi, I need to create routing using BAPI. I am using BAPI_ROUTING_CREATE. My routing is not saved. I am using BAPI_TRANSACTION_COMMIT  also when message type is 'S', after Routing is created. But Still my routing is not saved. I can see successfull me

  • How to prevent specific email notification in document library?

    I've got the following scenario: If metadata is changed for a document in my library I want email notifications to be send out. If the document itself is changed (which happens by a background workflow) the email notification (for changed elements) s

  • Video DVI extension cord

    I want to have my computer further away from my monitor than the cord allows. I can't find a DVI to DVI extension cord that will work.... need it to have a male to female configuration. Also, I can't find a coupler to use with a DVI to DVI male to ma

  • Messages from Multiple customers&Multiple depots

    Hi All, My scenario is : we have 10 different customers like A, B,C... and each customer got some 4 or 5 different depots like 01, 02, 03, 04 and 05 and we will be receiving multiple messages from all of them in multiple time intervals A01, A02, A03