Selectively display link based upon userID

I know how to add security to tabs, etc. in Portal, but I have a jsp portlet that contains various links and images. I want to selectively display some of these items based upon the user currently viewing the page. Is it possible to add security at this level?
Thanks in advance.

The links and images on the jsp portlet are not Portal items, I do not think you can use portal security to
secure them. But for links and images on portal pages, each of them can be secured.
Why not create a page, put your links and items to it, and set the item level security. Then expose the page
as a portlet, this page portlet can be include on other pages.

Similar Messages

  • Data Selection for report based upon a 'Prompt Value'

    I want to report information in my report based upon a 'user input prompt value'
    for example:
    'Enter Shareholder Selection - A-Active, I-Inactive, B-Both Active and Inactive'
    if the user enters 'A', the report selects only active shareholders
    if the user enters 'I', the report selects only inactive shareholders
    if the user enters 'B' the report selects all shareholders, active and inactive
    the field in the database that this based upon is their total share value.
    if this field is greater than zero (>0) they are considerd 'active'
    if this field is equal to zero (=0) they are considered 'inactive'.
    I have tried creating some type of filter,  but am not having any luck. 
    I saw a few examples within the forums that I have tried without any luck....unfortunately most of the examples I've seen are base one only two choices.
    I'm sure I need to create some type of 'independant varible' but am not sure how to do that either.
    Any suggestions would be appreciated.
    Thanks.

    Hi Daryl,
    I Tried this unsuccessfully in DESKI . We can't Eliminate Rows having Empty Measure Values or Measure with 0 as values using Table Level Filter as FIlter can't FIlter rows based on Prompt value selection dynamically. Filters filter rows at a time and not based on 3 condition as Active, Inactive and Both. thus filters are of no use.
    I Tried this in WEBI, and it is working perfectly you donu2019t have to create any Object in Universe, you can do it using function UserResponse() at report level.
    Hence if you are comfortable using WEBI for Generating this report then Follow the steps.
    1. Create Report With Name and Shares Object. It will display all Shareholder Names and No.of shares they hold.
    2. Use Status Object in Query filter, use condition as u201CEqual Tou201D and Select prompt. It  contains Active, Inactive and Both as values.
    3. Report will Display all Shareholder names and No. of  shares  like 45, 789, 0, 4562 where 0 is inactive Shareholder and all other are active shareholder.
    4. Create Variable using Formula.
    =If(UserResponse("Enter Status:")="Active" And [Shares]>0;[Shares];If(UserResponse("Enter Status:")="Inactive" And [Shares]<=0;[Shares];If(UserResponse("Enter Status:")="Both";[Shares])))
    5. Remove Shares Object from the report and Put Variable created with Names of Shareholders.
    6. Select Table-> Properties-> Display-> Uncheck the Option u201CShow Rows with Empty Measure Valuesu201D
    7. Report will display Value correctly as per your Prompt value selection.
    I Hope this Helpsu2026
    Thanksu2026
    Pratik

  • ALV report to display data based upon radio button.

    i am new to abap, I have a requirement its like there are three radio buttons , r1 r2 r3  If i click r1 datas of r1 should display
    if i click r2 datas of r1 and r2 should display if i click r3 datas of r1 r2 and r3 should display , its ALV report. Please give me solution.

    Hi
    You can use by having the radio buttons in the same group. For ex i'm stating if want to have r radio buttons for change, display and create and you select it with a push button you can code it as ..
    //////SAMPLE CODE
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE TEXT-003 NO INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: SRCE RADIOBUTTON GROUP ELE.
    SELECTION-SCREEN COMMENT 3(15) TEXT-004.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: VARIN RADIOBUTTON GROUP ELE.
    SELECTION-SCREEN COMMENT 3(15) TEXT-005.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: ATTR RADIOBUTTON GROUP ELE.
    SELECTION-SCREEN COMMENT 3(15) TEXT-006.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: DOCU RADIOBUTTON GROUP ELE.
    SELECTION-SCREEN COMMENT 3(15) TEXT-007.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: TXELE RADIOBUTTON GROUP ELE.
    SELECTION-SCREEN COMMENT 3(15) TEXT-008.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(15)  TEXT-009 USER-COMMAND DISPL.
    SELECTION-SCREEN PUSHBUTTON 18(15) TEXT-010 USER-COMMAND CHNGE.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK BLOCK1.
    *PARAMETERS : XXX LIKE T100A-ARBGB MATCHCODE OBJECT YCL_T100A.
    AT SELECTION-SCREEN.
    CASE SY-UCOMM.
    WHEN 'CREAT'.
      MESSAGE I000(YCL_MC01) WITH 'Create'. // or insert your alv code here
    WHEN 'DISPL'.
      MESSAGE I000(YCL_MC01) WITH 'Display'. // or insert your alv code here
    WHEN 'CHNGE'.
      MESSAGE I000(YCL_MC01) WITH 'Change'. // or insert your alv code here
    ENDCASE.
    //////SAMPLE CODE
    In same you can code it.
    Hope this is useful to you.
    Regards
    Vinodh

  • ISupplier Portal : Display Link based on specific supplier

    I have a requirement of adding a link to the isupplier pages facing the supplier and the link opens an XLS file.
    I was able to add the link through personalization and now every supplier sees this linked file.
    How do I restrict only few suppliers to see this.
    for example, we want only supplier - A, B and C to see . P, Q, R should not see it.
    Any directions would be helpful.
    Thanks

    Followed your suggestion, but I dont know how to pull the supplier name. There is no VO behind this page that has the VendorName as a view attribute.
    Here is what I did:
    My page I am trying to extend is :
    /oracle/apps/pos/home/webui/PosHomeMainPG
    CP : oracle.apps.pos.isp.webui.PosPgImgHelperCO
    extended CO : oracle.apps.pos.isp.webui.XXPosPgImgHelperCO
    Viewed AM attached with the page : "oracle.apps.pos.isp.server.PosHPageAMImpl"
    here is the list of all the pos related VOs attached to it. None of them have suppliername/vendorname as an attribute.
    "oracle.apps.pos.isp.server.PosHpageSearchVO"
    "oracle.apps.pos.isp.server.SecureAttrVO"
    "oracle.apps.pos.isp.server.AttribValuesVO"
    "oracle.apps.pos.isp.server.PmntHPageVO"
    "oracle.apps.pos.isp.server.InvHPageVO"
    "oracle.apps.pos.isp.server.PosHpOrdersVO"
    "oracle.apps.pos.isp.server.PosHpAsnVO"
    "oracle.apps.pos.isp.server.PosHomeQuickSearchVO"
    "oracle.apps.pos.isp.server.PosHomePendingVO"
    Although this information is present in Orders tab, but I need it on Home Tab.
    How do I go about it ?
    Thanks a lot.
    Edited by: OAF-dev on Aug 7, 2009 3:18 PM

  • Display an image based upon condition A

    I am displaying layers based upon windows username. If User B, then Layer B. If Username A, then Layer A. etc. Do you see that is compatible with Acrobat Reader 9? It would appear as if the OCG methods will not work as Reader doesn't support the setIntent OCG object Maybe with another function like backgrounds or watermarks?
    The only thing the layer contains is a picture. Can we get the pictures to display using another method other then OCG?
    Please advise.

    You can place a picture as a button icon. You can also show/hide buttons with JavaScript.
    George

  • How do you get different check box fields to display based upon a list box selection?

    I am a relative newbie with LifeCycle Designer ES using v.8.2.1 to create interactive forms to replace manual hardcopies.  I am working on a form that has a few pull down list boxes.  I want different check box fields to display based upon the selection of an item from one of the pull down lists.
    Any guidance on the best way to accomplish this would be greatly appreciated.

    Hi,
    Here is a sample with script in the change event of the dropdown. You may want to clear previous checkbox choices once the subform is hidden.
    It is good to group objects in a subform - that way you only need to hide the subform and not each object in turn.
    Good luck,
    Niall

  • Filtering of the data based upon the selection screen data using ldb

    Hi Experts ,
    I am using ldb pnpce, for my report ,and i created my own report category with selection paramaters
    action type and payroll area
    now the problem is when i am giving the action type as Z0 ,the data to be extracted is not getting filtered
    based upon the action type ,the data consists the records having different action types other than Z0
    Please give me some solution for this

    Thanks Durga ,but the link wat ever u was for hiding the selection screen fields
    but my question is when am using get pernr event my data is not getting filtered with the selection screen paramater value
    i,e m giving action type as only hiring ,but m getting the data for all the action types ,its not filtering based upon my selection

  • How to make a value changed based upon values selected in dropdown menu

    Hi,
    I am making my first Dreamweaver website using Dreamweaver CS6 on a windows 8 PC.
    I am trying to make a website where the user selects different criteria; in this example an ipod's model, condition and size from three seperate dropdown selections (similar to www.itrado.co.uk) and then based upon these selections a value for their ipod is shown. However i cannot work out how to display a value which remains on the same page and changes based upon the values which have been selected from the dropdown boxes. I was planning on creating a database and then creating a simple code which retrieves the value from the database which corresponds to the three selected values, however i am not sure how to go about doing this.
    Any help would be greatly appreciated.
    Many Thanks,
    Henry

    You need scripts for this. Try this jQuery tutorial
    http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
    Nancy O.

  • Can't get a text field to atuo populate based upon a dropdown selection

    I have a drop down box with 3 values that can be selected:
    Dropdown2 = 101-3 subd.A
                          101-3 subd.B
                          101-3 subd.C
    I am trying to get a text field to auto populate based upon the selection:
    if Dropdown2 = 101-3 subd.A then Text4 = "ValueA"
    if Dropdown2 = 101-3 subd.B then Text4 = "ValueB"
    if Dropdown2 = 101-3 subd.C then Text4 = "ValueC"
    I have tried to create a custom calculation script for Text4:
    var v= getfiled("Dropdown2").value;
    if (v="101-3 subd.A") event.value = "ValueA";
         else if (v="101-3 subd.B") event.value = "ValueB";
         else if (v="101-3 subd.C") event.value = "ValueC";
         else event.value = " ";
    I have entered this script and the syntax appears to be correct.(At least to Acrobat XI.  I'm know programmer and have just enough knowledge to be dangerous).  When I select a value in Dropdown2 nothing happens.  No value appears in Text4.  I have checked the "commit selected value immediately" in the option of Dropdown2 per some google'ing.  I just can not understand why the values do not appear.  Any help would be appreciated.
    Thanks

    I made the changes and added the == to my if statements.  When I select a value in Dropdown2, Nothing appears in Text4.  I don't understand.  Is there something else that I need to do beside event.value="Some Value";?
    I know it has to be something simple that I am missing, but I just can't seem to see it.
    Text4 - Custom Calculation Script:
    var v= getfiled("Dropdown2").value;
    if (v=="101-3 subd.A") event.value = "ValueA";
         else if (v=="101-3 subd.B") event.value = "ValueB";
         else if (v=="101-3 subd.C") event.value = "ValueC";
         else event.value = " ";

  • Calculate value based upon checkbox selection

    G'day people,
    I've got myself a bit stuck on a job I've got here, this javascript is getting the better of me.
    The idea is that this script takes the sub total, and adds a creditcard surcharge (as a percentage) based upon a checkbox selection, then spits out the value to be entered into another field.
    If anyone could have a quick look over the following and let me know where I've gone wrong, it would be appreciated.
    var subtotal = this.getField("SubTotal").value;
    var mastercardTick = this.getField("MasterCard");
    var visaTick = this.getField("Visa");
    var amexTick = this.getField("Amex");
    var surcharge = this.getField("CreditSurcharge").value;
    var creditcard = this.getField("PayCredit").value;
    if (creditcard.value === "Off") {
         event.value = 0;
    } else {
              if (mastercardTick.value === "Yes") {
                 surcharge.value= (1.2 / 100) * subtotal.value;
        } else if (visaTick.value === "Yes") {
                 surcharge.value = (1.2 / 100) * subtotal.value;
        } else if (amexTick.value === "Yes") {
                   surcharge.value = (3.75 / 100) * subtotal.value;
        } else {
              event.value = 0;

    Thanks George, I've given this a whirl and got very close... I got a NaN error, and found I was calling "SubTotal" a value twice, which was playing funny buggers!
    I've got rid of one part (the if creditcard.value === "Off") as it wasn't acting like it should. I think I had to put it in a seperate function, to be called seperately then the rest of the code... However, I need to get the job out and it wasn't crucial.
    Thanks for your help mate, appreciated.
    For anyone else that's interested, amended code is as follows:
    var subtotal = this.getField("SubTotal");
    var mastercardTick = this.getField("MasterCard");
    var visaTick = this.getField("Visa");
    var amexTick = this.getField("Amex");
    // var surcharge = this.getField("CreditSurcharge").value;
    var creditcard = this.getField("PayCredit").value;
              if (mastercardTick.value === "Yes") {
                 event.value = (1.2 / 100) * subtotal.value;
        } else if (visaTick.value === "Yes") {
                 event.value = (1.2 / 100) * subtotal.value;
        } else if (amexTick.value === "Yes") {
                   event.value = (3.75 / 100) * subtotal.value;
        } else {
              event.value = 0;
    Not the nicest, but hey, it worked.

  • Can a Content Query Web Part (CQWP) be used to filter content based upon a substring of a variable

    Folks, I'm a newbie to this forum and to SHarepoint in general - so please be gentle :-)
    I'm using Sharepoint 2010 and have content in lists which I want to display based upon certain user attribtes. For example I have a sharepoint LINKS list which contains entries for vaious applications (I'm using the LINKS list as an example, however I'd
    like to apply it to many libraries/lists).
    Name:UK Intranet - URL:http:UKintranet.com - Description: UK
    Name:USA Intranet - http:USintranet.com - Description: USA
    Name:UK Contacts list - http:UKPhones.com - Description: UK
    Name:USA Contacts list - http:USAPhones.com - Description: USA
    My users are split accross AD domains, one for each called UK and others in a domain called USA 
    What I would like to do in a content query is display items where the users domain (ie UK or USA) is contained in the Description field.
    So a CQWP which includes something like "filter when Decription = &userdomian"
    I should also add that I am only using basic page editing in a browser and have no access to Sharepoint Designer
    Can this be done?
    BTW - I know this is a little like Audience Targetting, however I don't have rights to setup audiences and as the information about the audience is already available in the users domain I simply wanted to reuse that.

    Hi Peter,
    According to your description, my understanding is that you want to filter items based on the current user’s domain.
    Whether you could access Central Administrator, and create a new user property in User Profile Service Application->Manage User Properties. If yes, create a new user property (assuming it is called ‘Domain’)to store the users’ domain information. If not,
    please choice a existing user property that you don’t use to store the domain information, like Department.
    Then do as the followings:
    Open the page that you want to display the list.
    Eidt the page and insert the list into the page.
    Insert a Current User Filter web part(Insert->Web Part->Filters->Current User Filter) into the page.
    Then edit the Current User Filter web part, and select value to provide: SharePoint profile value for current user: Department(or Doamin).
    Connect the Current User Filter web part to the list: Connections->Set filter values to->the list.
    Connection Type: Get Filter Values from, click Configure.
    Consumer Field Name:Description, click Finish.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Create maintenance order based upon notification in NWBC / Portal

    Dear experts,
    How to create a maintenance order based upon a notification, using the POWL for notifications ?
    I am using NWBC and would like to create a maintenance order, based upon a notification put in process.
    In R/3, this works fine using transaction IW22 / IW28 and all info from the noticiation is copied in the new order.
    How can I get the same functionality using  the role SAP_BPR_MAINTENANCE_TECH_12 ?
    Kind regards,
    Dirk

    Dirk,
       You should be able to select the Notification number from the POWL overview list and choose the "Create Order" push button on the Tollbar (along with display notification, change notification etc).
      What i have noticed is that once you are inside the notification from the Portal application, the create Order push button or functionality doesn't seem to exists. This is probably incomplete functionality taking into consideration the standard IW22 transaction /Or a  Bug  and maybe you could raise a OSS Note for the same.
    Regards
    Narasimhan

  • Create order based upon notification in NWBC / Portal

    Dear experts,
    How to create a maintenance order based upon a notification, using the POWL for notifications ?
    I am using NWBC and would like to create a maintenance order, based upon a notification put in process.
    In R/3, this works fine using transaction IW22 / IW28 and all info from the noticiation is copied in the new order.
    How can I get the same functionality using the role SAP_BPR_MAINTENANCE_TECH_12 ?
    Kind regards,
    Dirk

    Dirk,
       You should be able to select the Notification number from the POWL overview list and choose the "Create Order" push button on the Tollbar (along with display notification, change notification etc).
      What i have noticed is that once you are inside the notification from the Portal application, the create Order push button or functionality doesn't seem to exists. This is probably incomplete functionality taking into consideration the standard IW22 transaction /Or a  Bug  and maybe you could raise a OSS Note for the same.
    Regards
    Narasimhan

  • How can we display Alerts based on Exceptions in BI7

    Hi,
    <b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
    In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
    Regards
    Hari

    Hi,
    Please go through this link:
    bw 7.0
    Regards,
    Habeeb

  • ADF BC: Creating updatable VO based upon DB View with "instead of" trigger

    Hello all,
    I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
    Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
    As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
    My questions:
    1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
    2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
    Kind regards,
    John

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

Maybe you are looking for

  • How can an email be sent from my iPhone go out as a gmail address if my default is cox and the gmail is not set up on my phone?

    I only have one email account on my phone.  It is a cox account and the default email account is of course cox.  I've had some emails go out as a gmail account so when someone replies it goes to the gmail address instead of the cox address.  These do

  • TS1248 Track Pad not working correctly after upgrading to OSX10.8

    I've the same issue since yeterday night after upgrading to OSX10.8 from OSX10.6. The problem I am having is only right side of the track pad is not working.. Did some one already experience this issue ? See screen shot Cheers, Vivek

  • Solo doesn't work for me anymore

    I have 15 clips overlaying each other in the timeline with an audio MP3 in the main storyline position. When I solo one of the clips, it shows me the very top clip in the viewer even though it has been turned off when I soloed. Anyone else getting th

  • View access on triggers

    Oracle DB version 9.2.0.6.0 on HP Unix - Itanium 11.23 Is it possible to give view access on triggers to the developers. I just want them to view the code. I need this so that when the Application Users receive in error due to the triggers created ,

  • Log Reader Agent and Snapshot Agent wont start

    Hi There, I've two SQL 2012 servers with multiple instances installed. I've started replicating the databases in these instances using transactional replication and thus far they've worked without a hitch. One of my instances, annoyingly, has an issu