How to set the view privilege of a portlet?

Dear all,
I would like to ask how to set the view privilege of a portlet (which is located on the Intranet homepage) to only a group of users?
As far as I know, I can create a tab with view privilege to address the about scenario. But is it possible to directly set the view privilege to the portlet ?
thanks
George (HK)
Welcome to my photo albums at http://community.webshots.com/user/GeorgeLee80
Message was edited by:
georgelkh

OK, you got me there George. I don't know where you can set view rights to an out of box portlet. So how about a different approach?
1) Create a blank page with no nav bar or anything else
2) Assign the group you want to see the notifications portlet view rights on the page
3) Make sure the show as portlet check box is checked on the Optional tab in the page properties
4) Add the notifications portlet to the page
5) Ensure the portlet settings are how you desire in terms of what notifications to show and the region settings are how they should be in terms of border, headers, etc
6) Edit the page where you want the notifications portlet to be shown and add the page portlet you just created instead of the notification portlet
This should achieve what you seek without having to dig into out-of-box portlets.
Rgds/Mark M.

Similar Messages

  • How to set the view, which has to be shown at runtime?

    Hi,
    in my application i have more than one view, but at runtime only one of these views has to be shown. I want to decide this via a parameter that I get from the url.
    How can i set the right view to be showing at runtime?
    I tried it with a StartView which fires the right Outbound Plug in his wdDoInit-Method. This is working fine, but the problem is, that the method OnPlugDefault() of ComponentInterfaceViewController isn't called already at this time. So in the Init-Method of the StartView I don't have the given URL Parameter, so I can't decide which Plug I want to fire. The method OnPlugDefault() is called only after the init-method of the StartView.
    Is there any other possibilty to set the view, which has to be shown, at runtime?
    Thanks and Best Regards
    Katharina

    Hi,
    One way is you can pass the parameter in the URL , read the parameter and then fire the outbound plug depending upon that.
    You can read the parameters as follows
    HttpServletRequest request =Task.getCurrentTask()
         .getWebContextAdapter()
         .getHttpServletRequest();
    String[] param1 = request.getParameterValues("<<PARAMETRNAME");
    if(param1.equals("VALUE"))
      fire outbound plug1;
    Regards, Anilkumar

  • How to set the SE_SHUTDOWN_NAME privilege?

    How do I set the SE_SHUTDOWN_NAME privilege so that I can execute ExitWindows on LabView 6.1 / Windows 2000?
    KnowledgeBase document 2CTJ76G4 says that "a CIN is used to set the necessary privilege": what function / DLL?
    (The attachment to KB #2CTJ76G4 is for LV 7.0; I am running 6.1.)

    Hi,
    You don't need a CIN, just the right calls to advapi32.dll and kernel32.dll:
    LookupPrivilegeValueA
    GetCurrentProcess
    OpenProcessToken
    AdjustTokenPrivileges
    ExitWindowsEx
    But it's easier to use the attached vi... Be carefull. Windows will shut
    down (save first)!
    Regards,
    Wiebe.
    "allenf" wrote in message
    news:[email protected]..
    > How do I set the SE_SHUTDOWN_NAME privilege so that I can execute
    > ExitWindows on LabView 6.1 / Windows 2000?
    >
    > KnowledgeBase document 2CTJ76G4 says that "a CIN is used to set the
    > necessary privilege": what function / DLL?
    >
    > (The attachment to KB #2CTJ76G4 is for LV 7.0; I am running 6.1.)
    [Attachment Shutdown.vi, see below]
    Attachments:
    Shutdown.vi ‏66 KB

  • How to set the View instance and view  attribute to lov field ?

    Hi
    I created lov and textfield programatically.
    I want to set the viewattribute and view instance to that items(lovbean, texfieldbean).
    How to set programatically?
    Thanks in Advance
    Awadesh

    Hi
    Thanks. Its working fine. But now i got some another issue.
    after setting, i put simple system.out.println(Pagecontext.getparameter("idoflov"));
    But it returns null value.
    why. Actully i want to pass this value (according to my requirement).
    The view instance and view attribute are setting correctly. But after that i checked means it returns null value .
    plz let me know.
    Thanks

  • How to set the view of a table to the last column?

    Hi all,
    I have a table that allows user to add rows to it. When the number of columns exceed the number of row the viewport can display, the freshest columns are not in the view.
    My question is, how do I force the viewport to view the last rows of the table as the table grows? Instead of just showing the starting rows?

    You're mixing columns and rows in your problem description, but
    something like the following should be close
    Rectangle rect = new Rectangle( table.getWidth()-1, table.getHeight()-1, 1, 1);
    table.scrollRectToVisible( rect );: jay

  • How to set the view format of the numbers in the tooltip.

    By default a graph will automatically format the axis view to be a scaled value.
    Example: 180321005 will show as 180 M on the axis label for the graph
    There is a way to set the scaling on the y-axis of a graph so that it will not be displayed as a scaled number.
    m_graph.getY1Axis().getViewFormat().setScaleFactor(BaseViewFormat.SCALEFACTOR_NONE);
    Now: Example: 180321005 will show as 180321005 on the axis label for the graph
    But is there a way to set the scaling factor for the pop up tooltip that appears when the user mouses over a point on the graph?
    Right now the tooltip view shows the y value as a scaled value; therefore, much of the number's percision is lost.
    Thanks,
    michelle

    Hello
    Did you find any soloution?

  • How to set the view HTML source in IE using Notepad to open?

    When I want to view the HTML source in IE, Java Web Start is launched instead of Notepad after I install the Java Web Start. How can I change the view source back to using Notepad?

    Sorry, a late reply: simply remove (or rename) the JWS Notepad shortcut from your desktop.
    It seems that this "lovely" little example application
    has taken over IE's "view source" feature by trying to
    launch itself in the place of notepad. It would be quite disappointing from the sandbox point-of-view if a JWS application would be able to make such changes without any warning...
    It's more like Windows cannot handle two applications with the same name. Just hold down the Windows key, hit R and type "notepad" in the Run dialog and you'll also get the JWS demo -- while typing "notepad.exe" still fires Windows Notepad.
    Even more strange: typing "notepad" in a MS-Dos box does not fire the JWS demo, even when you change the current directory to be your desktop, like c:\windows\desktop. However, typing "start notepad" in that specific directory does fire the demo...
    Even although in the Windows registry one finds HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor shows the full path to the Windows notepad.exe, it is simply not using that information. You can't blame that on JWS.
    So: simply removing or renaming the shortcut helps you out. Or, even better: put a shortcut named Notepad on your desktop and make it refer to your favorite editor -- c:\program files\accessories\worpad.exe if you don't have anything better -- this will make searching the source code in IE much easier...
    Arjan.

  • How to set the contentType for JSF Content Portlet.

    Hi,
    When I tried to get the data from data base and construct a downloadable .csv appending the html at the end of the actual csv content. Please find the below given code for reference.
    JSP Code :
    <f:view>
    <h:form id = "test">
              <h:commandButton immediate="true" value = "Download CSV" actionListener="#{myManagedBean.downloadCSV}">
              </h:commandButton>
    </h:form>
    </f:view>
    Managed Bean method (Listener Method):
         public void downloadCSV(ActionEvent event) {
              FacesContext.getCurrentInstance().responseComplete();
              OutputStream os = null;
              try {
                   HttpServletResponse response = (HttpServletResponse) FacesContext
                             .getCurrentInstance().getExternalContext().getResponse();
                   response.setHeader("Content-Disposition","attachment;filename=report.csv");
                   response.setContentType("application/download");
                   os = response.getOutputStream();
                   StringBuffer buffer = new StringBuffer();
                   //following code has to be replaced by records retrieved from database.
                   for (int i = 0; i < 1000; i++) {
                        for (int j = 0; j < 100; j++) {
                             if (j == 0) {
                                  buffer.append("Test " + j);
                             } else {
                                  buffer.append(",").append("Test " + j);
                        buffer.append("\n");
                   System.out.println("Get Content Type :==>"+response.getContentType()); // always returning text/html;
                   os.write(buffer.toString().getBytes());
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   if(os != null){
                        try {
                             os.close();
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
    The above given code is appending the html content at the end of the actual content. I noticed one thing, even though I am setting the content type to application/download (or) text/csv when i am printing the content type it is always returning "text/html".
    Thanks.

    Hello,
    The portal will not allow you to change the content-type of a single portlet's response. Since each portlet is rendered onto a single HTML page along with other portlets, the content-type of the whole page (and therefore of each portlet) must be HTML-- you can't have a different content-type for just a portion of the page.
    This means that you cannot render non-HTML content for a portlet within the portal framework. However, you can render non-HTML content as a separate "resource" outside of the portal context- for example, if you create a resource URL in your portlet that points at a servlet, the servlet can serve up any content-type you wish.
    The JSR329 JSF portlet bridge (and the JSR286 portlet specification it is based on) even have a special "portlet-served resource" mechanism that allows you to serve non-HTML content while still having access to all of the portal context (all of your portlet state). From the code you posted, it looks like you are not using the JSR329 portlet bridge, but you might want to take a look at it.
    Kevin

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • Start page lacks menu items - unlike "How to set the home page" view

    I have just downloaded the beta of Firefox 4 and am attempting to reproduce opening home page from previous version. Directions on accomplishing this (loading the NY Times front page) depend on a menu bar with "File, Edit, View, History" etc. There are not visible. They are shown in the directions on Firefox Help but not on my computer. How to do this??

    Click the Firefox button, then click Options. This will open the options dialog that the [[How to set the home page]] article refers to.
    When viewing the support articles, in the right-hand column there is a section titled "Help With:", make sure it is set to Windows and Firefox 4 to get help relevant to the version you are using. In some articles you get different content when you select Firefox 4.

  • How to Import a Forecast & set the view to Weekly or Monthly

    As I understand currently it is not possiblt to import a Forecast to set the view to Daily, Weekly or Monthly and the reason being for this is that in the database the forecasts are saved per day (this we can see in table FCT1). The view is at GUI level only.
    Does anyone know a work around for this?

    Hello Ms Jones,
    I am not sure about your question. What do you mean when you say 'import'?
    The forcast for the MRP will  be saved according to your choice: daily, weekly or monthly.
    Thank you for your information.
    Kind Regards,
    Marcella Rivi
    SAP Business 1 Forums Team

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • How to get the view Object in UserDefined Action

    Hi  All,
       Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
    I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows  selected in the dropdown box.
    The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
    so for getting the view object in the  the Action methods tell me what is the procedure for getting the current view object.

    Hello Vishal,
    Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
    wdContext.currentContextElement.setRowCount(
        wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
    Bala

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

  • How to set the default text in an input box or a label to be a predefine, multiline text

    how to set the default text in an input box or a label to be a predefine, multiline text. In other words how to break the line in the code of a text box.
    thank you

    There are a couple of ways of doing this:
    If you're editing on the canvas, press Shift + Enter.
    If you're working in Express View (see lower right hand corner of Project Siena), you'll need to copy a hard return from another app such as Notepad.
    I believe a better implementation of hard returns are in the list of requested functionality that you can find here:
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Thor

Maybe you are looking for

  • Checkboxes for multiple line items

    On my form, I query a table based on ref no and bring back muliple line items for each ref no. What I need to do is display a checkbox next to each line item. If they check the box, they can edit the line, otherwise nothing should happen. Some fields

  • Sorry-duplicate thread,since problem in forumby5.45pm pl/sql region in apex

    Hi All, From sqlworkshop, I have created a view like CREATE OR REPLACE FORCE VIEW VW_SUB_CL_ADD1 AS (select a.siteid siteid,a.bpaadd_0 bpaadd_0,a.bpanum_0 bpanum_0, case when a.bpaaddlig_0 = '' then '-' else a.bpaaddlig_0 end address1, case when a.bp

  • DHCP Issue.

    Hi Everyone. I am having an issue with our LAN DHCP clients obtaining an IP from our DHCP server. I captured some packets using wireshark while trying to obtain a IP and this is what i found. I get the discover, offer, request and then ACK, but for s

  • Notification email for workflow

    I have configured the smtp server and also the email transport and channels and the channel orginators.Emails are sent for subscription service and also 'send to' works fine. But the problem is that the notification emails are not sent to the approve

  • Printing Barcode in Smartform

    Hi All, When i am previewing the smartform, i was able to see the barcode. When i am printing the Smartform i am seeing the Order number instead of Barcode. This is happening from my client side also. (You might think that, my printer is not supporte