Controlling visibility of an iView based on User groups...how ?

Hi SDNs,
I am trying to achive a functionality like:
There is Page with 3 iViews A,B & C and that Page is assigned to some role R.
And there are 2 user groups X & Y and i will assign that Role R to both the user groups.
But the User group X should be able to see only iViews A & B, where as user group should Y should be able to all A,B & C iViews.
I thought of proceeding like controlling Permissions at the iView level for the groups X & Y, but i couldn't do that because i don't know how to do
Can any one suggest a best solution for achieving this kind of functionality ?
Thanks,
Trikanth

Hi All,
I just told example as A,B & C, actually i have more than 100 iViews and pages where i need to get this kind of functionality.
So i can't go with creating different pages for each group.
Thanks,
Trikanth

Similar Messages

  • On my macbook pro in users & groups how do i remove current user

    my macbook pro in users & groups how do i remove current user

    Welcome to the Apple Support Communities
    To remove an user, just open System Preferences > Users and Groups, select the user you want to delete on the left sidebar, and then, press the - button that it's under the sidebar. Note that you can't delete the user from what you have logged in

  • IFrame in WDJ application to call another WDJ iview based on users country

    Hi All,
    I have a requirement wherein I have to display an iview based on the logged in user's country. This iview will be displayed within a WPC ivew. So the idea is to create just one WPC iview and put this WDJ iview in it, hence if a user from US logs in and sees this WPC ivew ..he will see US specific WDJ iview & if a user from UK logs in and sees this same WPC iview.. he will see UK specific....same should be the case for all other countries.
    I was exploring option and using IFrames can help me acheving the same, but on further research I found it deprecated and also when I write IWDIFrame. in nwds i get "The type IWDIFrame is deprecated"
    My SAP Portal is 7.01 & NWDS version is 7.0.11
    Any pointers to achieve my requirement would be of great help.
    Regards,
    JJ

    Thanks Narayan.
    I went ahead with your advice, and I got the navigation working BUT the iview opens in a new window.
    I need:
    MAIN iview is within a WPC webpage --> when we open wpc --> need to get eg. US iview exactly in place of MAIN
    What is happing:
    MAIN iview is within a WPC webpage --> when we open wpc --> US iview is open in another portal window & the wpc area were I have placed MAIN is blank.
    I am using following code:
         if (wdContext.currentContextElement().getVa_usercountry() != "" && wdContext.currentContextElement().getVa_usercountry() != null) {
                        if (wdContext.currentContextElement().getVa_usercountry().equals("US")) {
                             WDPortalNavigation.navigateAbsolute("ROLES://portal_content/hr/emea/iviews/ess/personal_information/com.emea.ess.ivu.addr_ir",
                             WDPortalNavigationMode.SHOW_INPLACE,
                             WDPortalNavigationHistoryMode.NO_HISTORY,
    Any advice to resolve this....I think I am almost there but need some more push !!
    Thanks.
    JJ

  • Customising Serach Results based on User Groups

    Hi,
    Is it possible to customize the set of products an end user sees based on the group it belongs to?
    I mean we have set of clients belonging to different groups each having their own product catalog, so based on the group, search
    results have to be very specific. Is there a way to achieve this w/o having separate endeca instances?
    Thanks.

    You typically do this by translating custom catalogs and price lists into dimensions and catalog-specific properties so that the product set can be pre-filtered before applying search. I don't believe User Profiles will really give you what you want.
    The way I typically think about it is that User Profiles influence the way in which users are presented with content but it doesn't have an effect on the content itself. We've worked on the largest custom catalog project undertaken on the platform (back in our days at Endeca) so feel free to reach out if you need more information.
    Thanks,
    Patrick Rafferty
    http://branchbird.com

  • Conditions based on user groups

    Hi,
    I am already using the authorization i dont want to make any changes.
    I want to restrict the column using user group.
    If my user group is admin or unique then display the item and if the user group helpdesk or test then dont display.
    I am using condition: PL/SQL Function Returning boolean
    declare
    begin
    return apex_util.current_user_in_group(p_group_name=>'admin');
    end;
    It is working fine for only admin group. If i need to display the column to either admin or uniqueuser group ,Then please could you advise the expression for that.
    Regards
    Harinder

    Hello Harinder,
    What about
    return apex_util.current_user_in_group(p_group_name=>'admin') or apex_util.current_user_in_group(p_group_name=>'yourOtherGroup');
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Content Alignment in webdynpro iView based on user language

    Hi,
    We have a webdynpro application which has a search screen
    (Arabic as well as English), based on the user language setting in Portal UME, the respective language text with options are displayed.
    This webdynpro application runs on same WAS where Portal is running.
    When we test this application standalone like typing the URL of the webdynpro application, it shows english text with Left to right aligned content in browser for <b>user X with Language as EN</b>.
    When we test this application standalone like typing the URL of the webdynpro application, it shows arabic text with Right to Left aligned content in browser for <b>user Y with Language as Arabic</b>.It works fine when it is stand alone (when we directly run the webdynpro).
    <b>We created a WebDynpro iView in Portal, and we tested with user <i>Y (whose language is set to Arabic),</i> issue is text is properly displayed in Arabic, but the content alignment is left to right, which should be Right to Left</b>.
    Please let me know your solution/thought to the above mentioned issue/problem.
    Thanks
    Senthil

    Hi,
    The webdynpro application works fine (alignment and content is fine)when i access it directly.
    When i create a webdynpro iView and run it inside portal it is not working fine (alignment is LTR instead of RTL)
    I went through the SAP help <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/8aae409567942ae10000000a155106/frameset.htm">RTL Alignment</a>and tried creating new themes and created a new desktop and assigned it to the user. It is still the same with LTR alignment.
    The issue is, why it is not working inside PRT, when it works fine inside WebDynpro Runtime.
    Thanks
    Senthil

  • How to create a Query iView based on user's parameter?

    Hello,
    I've created a Query iView which depends on a Costumize parameter that the user enters - On stage 5 of the wizard I've entered a customize parameter on a certain field and called it "user_param". The wizard entered the Query: WHERE... = {$user_param}. So far so good...
    My question is, after creating this iView, how Do I implement it at the Portal so the user will have a place to enter his parameter and receive the result?
    when opening the Query I don't see such place. According to SPA's documentation, the user should enter the parameter at the "personalize" menu. When I put this iView in a page and open the "Personalize" menu there is no such place.
    Which further configurations should I do in order it to work?

    If you open the iview, there should be a personalize property or setting for the URL parameter. Make sure that it is set to read/write. I just got off a portal project where I did a few of these, but I don't have access to one right now, so I can't give you the exact steps, but you should get the idea.
    Good luck,
    Tom \

  • How to implement a Query iView based on user's parameter?

    Hello,
    I've created a Query iView which depends on a Costumize parameter that the user enters. My question is, after creating this iView, how Do I implement it at the Portal so the user will have a place to enter his parameter and receive the result? I tried simply put it on a Page but that didn't do the job... which configurations should I di in order it to work?

    hello,
    does anybody find a clue to solve this problem?
    thx!

  • Custom Install of Acrobat, how to enable / disable Office plugin based on User group membership

    Hi,
    Just configuring Adobe Acrobat X (10.1.5) on Citrix Xenapp 6.5 (Win 2k8 R2)
    I've set up a cusom install and have already removed the context menus and a few other bits and bobs.
    I wondered if it was possible to essentially add the Office plugins in but only for certain users.
    I've removed the plugins successfully by turning off the 5 / 6 features (IE, office , outlook etc)
    Now I just wondered what files / registry entries I could create on login (using Group policy preferences etc) which will add the plugins back in.
    Thanks
    Chris

    okay no replies yet but I've just removed the office / IE features for now, adding the context menu items in for specific users is working good enough at the moment. if anyone does know how to do this just reply to this at any point i'll pick the mail up.
    thanks

  • Customize portal "Help" link based on user roles

    Is there a chance to customize the Help link URL in Masthead iView based on user roles? The use case we have is that the "Help" should be different for users of the purchasing company from those of the supplying company.
    Thanks.

    Hello Jay.
    This is a multi step process.
    Step 1 : Create 2 desktops with everything as same but different mastheads.
    - Copy your existing desktop and paste it in your working folder in PCD (Not select Delta link)
    - Now download masthead par file.
    - Modify your masthead par file where you will disable help link. Rename you masthead file (newMasthead.par) and export it from NWDS. Now import it in portal.
    - open your framework page in desktop2. Just add your new masthead in it. Enable the new one and disable the existing one.
    Step 2 : Create 2 groups of users. (First one belong to users who wish to see help link . i.e existing desktop) (Second of thoese users who do not have to see help link i.e. newDesktop)
    - Assign users to appropriate groups.
    - Assign same roles to both groups.
    Step 3 : Modify main rule section in PCD.
    - If group = HelpLinkUsers Then Desktop1
    If group = NoHelpLinkUsers Then Desktop2.
    You may find above process bit tedious and lengthy.
    But if you wish to further customize your portal then this will be needed one day.
    If you find problems in implementing any step then please search in google or SDN.
    Please revert back on any specific question on above approach you may face while implementing.
    Thanks

  • How to programmatically set the Visibility of an Iview INVISIBLE ?

    Hi ..... I need to programmatically set the visibility of an IView for a user Invisible - In order to achieve that , I am trying the below code....But getting errors-
    Code -
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
                 env.put("com.sap.portal.jndi.requested_aspect","com.sap.portal.pcd.gl.PersistencyAspect");
    env.put("java.naming.factory.object", "__IPcdContext__");
    InitialContext iCtx = null;
    String iViewID = "pcd:portal_content/ABC/1Portal/mywork/iviews/XYA_iViews/adf.ivw_ess_jspdynpage";
                 iCtx = new InitialContext(env);
                 IiView result =(IiView)iCtx.lookup(iViewID);     
                 IiViews iViewSrv = (IiViews)PortalRuntime.getRuntimeResources().getService(IiViews.KEY);
    INewObjectDescriptor IVtoCreate =(INewObjectDescriptor) iViewSrv.instantiateDescriptor(CreateMethod.NEW,"par:/applications/com.sap.km.cm/components/navigation",request.getUser());
    IVtoCreate.putAttribute("com.sap.portal.navigation.invisible", true);
    the above method putAttribute is not apllicablt for (String,Boolean)\
    Please suggest as to how can I programmatically set an Iview Visible/Invisible .

    I think the property is com.sap.portal.navigation.Invisible with a capital I for invisible...
    This blog has an example: Hiding portal role content with a simple iView

  • IBrowser to setup default based on user role or group

    Hi all
    Need assistance or guidance with ibrowser
    Q1 :I have  Html  droplist    with the following  options
    <Select>
    <option value=" HR">HR</option>
    <option value="FI">FI</option>
    <option value ="QM">QM</option>
    </select>
    Now i need  to select the value  based on user group lets say if user belongs in HR  the  the default option is  HR with user  log in
    can some one assist if possible
    Q2 :How do you  set up  ibrowser  to have the above options without  using  query template

    HI
    Q1: Check the role of user in IllumLoginRoles and set the value in html dropdown as
    document.getElementById("ID").value = "HR"
    write this code in onload event of page.
    Q2: You can add items in iBrowser on creation event via javascript code.
    but for this option also you have to use ant dummy query in background.
    Regards
    Anshul

  • How to only synchronize one specific LDAP user group with SAP?

    Hi,
    Hopefully this is the correct forum to post this in. I want to have continuous one-way synchronization of users from my LDAP server to my SAP central system. I've started configure in SAP using transaction SM59 and LDAP. Can I somewhere set that only one specific LDAP user group shall be transferred to SAP (they do not need to be assigned to any specific group, profile, role in SAP) - or should this be done on the LDAP server side (or is it at all possible)?
    Correct me if I'm wrong, but the User Group field in the report RSLDAPSYNC_USER only concerns SAP user groups right? This would therefore not be sufficient since I want to select the users to synchronize based on user groups in the directory.
    Thanks, Oscar

    We've used a repository constant to specify the LDAP filter for reading users / groups from the LDAP target.
    E.g. LDAP_FILTER_USERS (&(objectCategory=person)(objectClass=user))
    Then we also have a constant for the LDAP_STARTING_POINT
    For our AD Group Initial Load we filter according to these settings:
    LDAP_FILTER_GROUPS = (objectclass=group)
    LDAP_STARTING_POINT_GROUPS = ou=IDMManagedGroups,ou=Groups,dc=cfstest,dc=le,dc=ac,dc=uk
    The above example only reads AD groups starting at the specified OU
    Then in a Job From LDAP Pass the LDAP URL looks like this:
    LDAP://%$rep.LDAP_HOST%:%$rep.LDAP_PORT%/%$rep.LDAP_STARTING_POINT_GROUPS%?*?SUB?%$rep.LDAP_FILTER_GROUPS%
    I hope this helps
    Paul

  • Style by user/group

    I have 1 corporate portal page group, but we have 3 divisions. Each division has their own style settings. How can I set all pages in the page group to display with style of user's division
    ex: div 1 style = div1mstrstyle (mostly green)
    div 2 style = div2mstrstyle (mostly brown)
    if a div 1 user signs on all their headers footers ect should be green, but if a div 2 user signs on they would be brown

    hi,
    it is not possible to have styles/templates based on users/groups.
    however, here is an idea of how you could achieve this.
    1. create 3 differnt page groups for each department. if you do not want to duplicate the content (items) you could have 1 page group to hold the content. in the division home pages you just reference the items from there and use the layout of the division home page to render it. 2 ways to do this:
    - use the auto-query search portlet and query content from there
    - use page portlets
    2. creat 1 page group with 3 sub-pages. 1 for each division. you can apply a different layout for each folder (and sub-folders).
    regards,
    christian

  • Why do we change the user group when doing LSMW?

    Hi experts,
    I just wanted to know why do we change the user group Tcode SU3 when we are doing upload of data using LSMW?
    Thanks,
    JEss.

    As Rajesh suggested if you are uploading data for action in which infotype group is based on User Group then you need to change User group.
    Otherwise there is no need to change user group for using LSMW.
    Rgds,
    Lata

Maybe you are looking for