Portlet Preferences at the instance level

Is there any way to specify the portlet preferences at the instance level using
Workshop? Currently I have to go to the desktop and set my instance level preferences.
I would much rather set them during development using workshop and have the desktop
read those in.
Thanks
Regards,
Kunal

Can you clear on what you mean by instance level.
I would think this way
1)using workshop You created a portal, and n number of portlets.
2)you can set preferences for each portlet in workshop
3)you create a desktop and change the preference as you like
Did that sound related

Similar Messages

  • Portlet Preferences set by admin only

    Hi, I am trying to figure out how to allow an admin to set a portlet
    preference for a single instance of the portlet. In IBM and Jetspeed,
    this is possible.
    For example, I would like to deploy a weather portlet where the only
    preference is the zip code for the weather forecast. I don't want each
    user to personalize this, I only want to allow the portal admin to set
    the zip code and then have that used by all end users of the portlet.
    Is this possible in WebLogic?

    Hi Chad,
    The admin tools have a Portlet Preferences page in both the library and
    for each portlet instance in a portal desktop. I can see these pages in my
    test environment. Let me know if you have any problems when you try this
    stuff:
    "Java Portlets"
    "Java portlets are based on the JSR 168 specification ..."
    http://e-docs.bea.com/wlp/docs92/portlets/building.html#wp1061940
    "Managing Portlets Using the Administration Console"
    http://e-docs.bea.com/wlp/docs92/portlets/portlet_org.html#wp1007211
    "Overview of Portlet Preferences"
    http://e-docs.bea.com/wlp/docs92/portlets/portlet_org.html#wp1013151
    <Chad McGowan> wrote in message news:[email protected]..
    Excellent, thanks for the clarification.
    I've download version 9.2 of the portal server and I could not find a way
    to set portlet preferences in the admin console.
    Are there any tutorials or instructions on how to install and configure a
    third-party jsr-168 portlet in 9.2? I want to install the portlet, then
    set the preference from the admin console.
    Thanks for your help!

  • Portlet Preference Persistence

    Hi folks,
    We have observed some behaviour which seems kind of strange and was
    hoping someone at BEA or anybody else for that matter could provide us
    with some insight into what we are missing.
    When defining portlet preferences in the admin tool, if we define the
    preference on a portlet in the library, the preference gets persisted
    into the pf_portlet_preference table and the portlet_definition_id is
    inserted into the portlet_instance_id column. However, when we add a
    portlet to a portal and add a preference there, the portlet_instance_id
    gets inserted into the portlet_instance_id column.
    We haven't been able to determine how to differentiate between those ids
    that were definition_ids and those ids that were instance_ids. Of
    course, if there is no mechanism to differentiate between them then this
    is a bug. Can anyone help?
    If it helps, we have set propogate-portlet-preferences to false in
    netuix-config.xml.
    Cheers
    Dennis

    I ran a simple test. I put the following line of code in a JSP and pointed a portlet at it:
    PortletContextFactory.createPortletContext.setSettingValue(SettingType.Portlet, "foo", "bar");
    I put this portlet in three places:
    1) A MyPage
    2) A Community (id 234)
    3) Another Community (id 235)
    When I looked in the database in the PTPREFS table, I was really surprised by what I saw. It created three rows as follows:
    PREFNAME PREFVALUE PREFOBJECTID PREFCLASSID
    foo      bar       0            0
    foo      bar       234          512
    foo      bar       235          512Prior to G6, if my memory serves me correctly, a portlet pref could be set on one community and read on another. I'm not as certain about this point, but I think it could also be set on a MyPage and read on a community (and vice versa).
    If you wanted page-specific or community-specific portlet preferences, you could always append the page id or community id to the pref name. However, following this undocumented design change, there's no way AFAIK to remove the new community-specific nature of portlet prefs.
    Bug or feature? Hard to say. I'd like to get the official word from BEA on whether this was intentional or not and either way, could somebody please update the documentation ? If there's been a major change in the design of the pref model, there ought to be at least a little documentation on it.
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com
    Edited by bucchere at 02/12/2007 8:47 PM

  • About instance-level access control

    http://www-128.ibm.com/developerworks/library/j-jaas/index.html
    this article refer to a concept of the instance-level access control, but i don't know how to use it in the web-based application�H
    can u give me a example?if i use the database . how to use this concept?

    please!!!
    please!!!
    it means something to me!!!
    thanks!!!

  • Instance-level access control

    http://www-128.ibm.com/developerworks/library/j-jaas/index.html
    this article refer to a concept of the instance-level access control, but i don't know how to use it in the web-based application�H
    can u give me a example?if i use the database . how to use this concept?

    please!!!
    please!!!
    it means something to me!!!
    thanks!!!

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • What does the top level instance name "iop" mean?

    What does the top level instance name "iop" mean?

    Dear Humility,
    In general term higher level account group means which account group is used to the higher level customers in the Customer Hierarchy process.
    Or
    Which of these account groups are valid for higher-level customers in the hierarchy.
    I hope this will help you,
    Regards,
    Murali.

  • Managing the Mobility preference at the computer list level

    Hi,
    I'd like to get a confirm about my understanding of the role of the Mobility preference in computer lists.
    Since the Mobility preference could be managed at the computer list level, it has effect both on the clients' local and network accounts. I tried to manage the preference for a computer list that contains clients with only local accounts and set it to "Synchronize account for offline use".
    I saw no effect on clients' local account, but I think this is expected because portable home directories requires a network home folder to be set, and obviously local accounts cannot have it set.
    Could anyone confirm?
    If the above reasoning is correct, the only point of managing the Mobility preference at the computer lists level is to allow or disallow network users with network home folders to create mobile accounts on specific computers.
    Am I right?
    TIA.

    I tried to
    manage the preference for a computer list that
    contains clients with only local accounts and set it
    to "Synchronize account for offline use".
    I saw no effect on clients' local account,
    That is the expecetd behavior.
    If the above reasoning is correct, the only point of
    managing the Mobility preference at the computer
    lists level is to allow or disallow network users
    with network home folders to create mobile accounts
    on specific computers.
    Am I right?
    Yes, you are right.
    b.

  • How to change portlet preferences

    Can somebody tell me how can I change some prefrences that are defined in portlet.xml. So that if the user update this preferece it will be updated for all the portlet instances for that user. For example
    <preference>
    <name>Pref</name>
    <value>something</value>
    </preference>
    here the value is something for every instance of that portlet. However I want to know if there is any way that this could be modified at user level and when the user change it to somethingelse this value will show on every portlet instance for that specific user. In IBM websphere this can be done using the <config-param> tag instead of preference.

    Hi Neeraj,
    We have a requirement to set the portlet preferences for al the users.
    Based on the solution you gave, I set preference value in config mode and those preferences value are set for all the users.
    I succusfully implemented edit_config mode on Oracle Portal and I shared my code snippets at
    http://wsrp-jsr168.blogspot.com/
    I hope this is very helpful.
    --Somesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Sharing portlet preferences among users

    Hello,
    Is it possible to share portlet preferences among users? So that the
    portlet preferences would be stored per portlet instance, and would be
    the same for every user?
    If this is not possible with Java portlets (JSR-168), can it be done
    with other portlet types (JSP portlet, page flow portlet), using the
    PortletPreferences API?
    The JSR-168 specification says:
    "Portlet Specification assumes preference attributes are user specific,
    it does not make any provision at API level or at semantic level for
    sharing preference attributes among users. If a portal/portlet-container
    implementation provides an extension mechanism for sharing preference
    attributes, it should be well documented how the sharing of preference
    attributes works."

    Betsy,
    Does WLP provide a way to allow a user to store only a subset of all
    his portlet preferences (using only JSR 168 api) ?
    My aim is to try to create a JSR 168 compliant portlet where few of
    the preferences are allowed to modified by the user (in the edit
    mode), while all other preferences may be modified only by a portal
    admin (thru admin view). However, the PortletPreferences.store()
    method seems to store values of all current preferences for the
    particular user, with the result that future changes by the admin are
    not reflected for any user who has already customized his
    preferences.You can let the admin propagate changes to the user via admin tools.
    There is an option in admin tools to do that.
    Setting the preference <read-only> attribute to 'true' does not help
    either, as the store method still attempts to store the value and
    then throws a ReadOnlyException.In this case, the setValue/setValues/reset and not the store will throw
    the ReadOnlyException.
    Why does WLP attempt to store all preference values; as opposed to
    setting only those which have been explicitly set using
    PortletPreferences.setValue(key, value)?The implementation does not keep track of changes explicitly in memory.
    Even if it keeps track of changes, I'm not sure if this would solve your
    use case.
    Will BEA be changing this in future releases, and is there a
    work-around for now?The suggested approach is to let admins propagate changes to users.
    Subbu
    >
    Thanks, Betsy
    Although WLP does not support the notion of sharing preferences,
    WLP lets you manage preferences in a hierarchy via the admin tools.
    When an admin sets preferences on a portlet, as long as users don't
    customize their portlets, all users get the same portlet instances,
    and hence share preferences.
    Subbu
    Bob said the following on 02/12/2004 04:08 AM:
    Hello,
    Is it possible to share portlet preferences amongusers? So that the
    portlet preferences would be stored per portletinstance, and would be
    the same for every user?
    If this is not possible with Java portlets(JSR-168), can it be done
    with other portlet types (JSP portlet, page flowportlet), using the
    PortletPreferences API?
    The JSR-168 specification says:
    "Portlet Specification assumes preferenceattributes are user specific,
    it does not make any provision at API level or atsemantic level for
    sharing preference attributes among users. If aportal/portlet-container
    implementation provides an extension mechanism forsharing preference
    attributes, it should be well documented how thesharing of preference
    attributes works."

  • The security level is set to High

    Windows 2008R2 terminal Server
    Office 2013
    Adobe Acrobat XI update 9
    When trying to create a PDF from a word document (have not tried other files yet), Adobe hangs for about 2 mins and then gives the following message
    The Security Level is set to High
    Please run the application which created this document, in the "Security Warning" dialog select the check box "Always trust macros from this source" and enable macro's created by Adobe Systems inc
    No 1. There is absolutely no need for an apostrophe in the second instance of the word macros
    Have deployed the Adobe Acrobat Administrative template and enabled the following setting
    'Automatically Trust Sites for Win OS Security Zones' (Elevates the trusted sites list in Internet Explorer to privileged locations so that they may bypass enhanced security restrictions. When enabled, the trust list is a union of IE's trust list and Acrobat's privileged locations list. GUI mapping: Edit > Preferences > Security (Enhanced) > Automatically trust sites for my Win OS security zones)
    - not a fix
    Have exported every digital signature from the pdf office dlls and imported to the computer certificate store - not a fix
    Have disabled every office macro and security setting - not a fix
    Does not matter if the file being converted is on a UNC path, mapped drive, or local drive
    Have added all file locations containing office docs to trusted folders in Word and Adobe - not a fix
    R-Click context menus for combining and conversion work fine however I understand that this uses the Adobe PDF Printer and not the office addons
    Opening a file in Word and converting to a PDF using the Addon is fine as is printing to the PDF Printer
    This issue only occurs from within the Adobe Acrobat Application 'Create file from PDF' and currently only seems to affect Office documents
    I cannot see how to give Adobe any more trust

    Solved
    I was running Office in a 'RunVirtual' environment. This man explains it best
      http://ppe.blogs.technet.com/b/gladiatormsft/archive/2014/02/05/app-v-5-on-run-virtual-rds -run-virtual-virtualizable-ext…
    Essentially Office and Acrobat are installed Natively however all Office Apps are configured to run in a Virtual environment so that Office Addins which are true AppV applications can be linked into Office.
    My 'Empty' 'RunVirtual Office package did not have 'Com Integration' enabled
    Adobe Acrobat makes use of a Com Addin for Office, so Office was unable to expose that to Adobe Acrobat until the 'Empty' 'RunVirtual Office package was updated accordingly

  • Unable to read Portlet Preferences set via Portal Admin

    I have a portlet which should read the preference values set in the portal admin by an administrator.
    I am running the portal as .portal and not in the streaming mode.
    After setting the values in the portal administration I always click on propogate to all instances. But when I run the portal in workshop in debugger mode it is not reading the values as stored in Portal admin but it is showing the values which were stored while creating the portlet in workshop in portlet designer.
    Please help how to make the portlet read the preference values stored via the portal admin console if the user visits the portal as an anonymous user. Any help is greatly appreciated on this subject. I have searched everywhere but have no solution.
    I am using Weblogic Platform 8.1 sp5
    Thanks
    rj

    The portlet preferences set in portal administration reflect only in streaming mode, since streaming mode uses the database that is used by portal administration. If you wish to see the portlet preferences set in portal adminstration, try running in streaming mode.
    But when you run portal from workshop ( which would be file mode), it wouldn't pickup portlet preferences created via portal administration.
    Note: The easiest way to distinguish a streaming mode from file mode is presence of 'appmanager' in URL.
    eg: http://localhost:7001/sampleportal/appmanager/MyPortal/desktop1
    Seenu.

  • How to retain portlet preferences when undeploying application

    Hi,
    we have a requirement where we configure portlet preferences for each portlet instance in a page through admin console.
    we use these preference values to retrieve content from VCR and display in portlet jsp.
    The problem here is when we undeploy application and install it again all the preferences configured in the admin console will vanish.
    Is there any way to retain these values even when we undeploy application.
    Thanks

    Hello,
    There are two ways you could do this: put the preference values in your .portlet files or use the propagation tool to move the customized portlet instances to your new deployment.
    Putting the preference values in your .portlet file can't be done from the administration tools-- it must be done from the IDE or manually editing the files-- so I'm guessing it would not solve your problem.
    For more information on using the propagation tool, see:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/propTool.html
    Kevin

  • Portlet Preferences

    Hi,
    We are observing that when we set the portlet preferences from a JSP page which is included in the normal view of a portlet, the preferences are not saved. However, when we use the same code in a preference page, the settings are saved. Can any one please confirm the portlet preferences can only be saved from the preferences page?
    portletResponse.setSettingValue(SettingType.Admin,
    "tempVal", "hellooooo");
    Thanks.

    Hi there,
    From your snippet of code below, you are seting an administrative preference (SettingType.Admin) this would be set up on the object at the administrative level. You might try using a different type either SettingType.Portlet or SettingType.CommunityPortlet.

  • Portlet Preference

    I have a community that has 2 pages, each having an instance of a portlet i created. I want to give these portlet instances 2 distinct preferences, so i used the portlet preferences to do it. However, if i set the portlet preference of a portlet instance, say on page A, and i check on page B, the portlet instance on page B detects the preferences that i set on page A and applies it to itself.
    Is there a way that i could set distinct preference settings on these two pages having the instances of one portlet? How will i do it?

    I ran a simple test. I put the following line of code in a JSP and pointed a portlet at it:
    PortletContextFactory.createPortletContext.setSettingValue(SettingType.Portlet, "foo", "bar");
    I put this portlet in three places:
    1) A MyPage
    2) A Community (id 234)
    3) Another Community (id 235)
    When I looked in the database in the PTPREFS table, I was really surprised by what I saw. It created three rows as follows:
    PREFNAME PREFVALUE PREFOBJECTID PREFCLASSID
    foo      bar       0            0
    foo      bar       234          512
    foo      bar       235          512Prior to G6, if my memory serves me correctly, a portlet pref could be set on one community and read on another. I'm not as certain about this point, but I think it could also be set on a MyPage and read on a community (and vice versa).
    If you wanted page-specific or community-specific portlet preferences, you could always append the page id or community id to the pref name. However, following this undocumented design change, there's no way AFAIK to remove the new community-specific nature of portlet prefs.
    Bug or feature? Hard to say. I'd like to get the official word from BEA on whether this was intentional or not and either way, could somebody please update the documentation ? If there's been a major change in the design of the pref model, there ought to be at least a little documentation on it.
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com
    Edited by bucchere at 02/12/2007 8:47 PM

Maybe you are looking for

  • How do I post a message on the qosmio forum?

    Hi, I see messages on the qosmio forum pages but no mention of "post a new topic" this is the only page I can see that allows me to post a topic. I wish to post a topic asking what cables are included in the qosmio f20-136 in UK as I seem to be missi

  • SRM PO Status "Error in Process"

    Hi, SRM 3.0 Extended classic scenario EBP Purchase order goes in to Status "Error in process" after making some ammendments. Getting following error 1) EEP\Business to Business Procurement(100)\...\Purchase Order\Backend application errors 2)Business

  • Lost photos, music, email and all settings, PLS HELP!

    Yesterday when I started my 12" Powerbook as soon as it turn on, all the settings went back to the original, I can't find none of my photos in IPHOTO ( It says is empty )or my songs from ITUNES( Empty also ), lost all my emails, but the weird thing i

  • Cfexecute / ant script not returning results in CF

    I've got a batch script that runs an ant script that executes "cvs log -h application.cfm" on the cvs server. When I execute the batch script manually on the command line, everything works fine. When I execute the batch script via CFEXECUTE, the batc

  • Error On opening of IR

    Hi, I am getting error like unable to open when i am clicking IR. please let me know the details. Thanks, Ganesh