Setting portlet properties on different pages

Hello,
New to Personalization so I apologize if this is obvious.
Is there a way to have the same portlet available on multiple
pages and allow a user to set different properties in a profile
based on the page the portlet is in? For example, if portlet X
is available on page A and page B and the edit tab allows the
user to set value Val1 in a property, is there a way to qualify
the Val1 property with a namespace so that it is associated with
the page it is on? Currently if I have some properties defined
in a profile and I set those profile values in an edit page
and get them in the top portlet, then those same profile values
will be associated with that portlet on all pages. That is with
using the um:getProperty tag. Is there some way through roles
to namespace profile values based on the page the portlet is on?
Thanks,
Curt

Curt,
Sure you can.
Just define separate user property sets and store the information based on
the page the user is on.
You can easily determine the page id using portal API (for example look at
the jsp which renders the page tabs in the framework directory).
Regards,
Michael Goldverg
"Curt" <[email protected]> wrote in message
news:[email protected]..
>
Hello,
New to Personalization so I apologize if this is obvious.
Is there a way to have the same portlet available on multiple
pages and allow a user to set different properties in a profile
based on the page the portlet is in? For example, if portlet X
is available on page A and page B and the edit tab allows the
user to set value Val1 in a property, is there a way to qualify
the Val1 property with a namespace so that it is associated with
the page it is on? Currently if I have some properties defined
in a profile and I set those profile values in an edit page
and get them in the top portlet, then those same profile values
will be associated with that portlet on all pages. That is with
using the um:getProperty tag. Is there some way through roles
to namespace profile values based on the page the portlet is on?
Thanks,
Curt

Similar Messages

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem.
    We have one master form and a detail form which are published as portlets and placed in two different pages.
    Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
    Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
    on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
    get displayed in deptno field of second form.
    I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
    http://forums.oracle.com/forums/message.jsp?id=997683
    Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
    This is bit urgent as it is the only problem stopping the customer go live.
    Thanks in advance.

    Please refer to post Re: session state security
    It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
    You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query.

  • Setting Portlet Properties in Development

    I am trying out the Portal 9.2 Trial, so am very new to this.
    I have created a very simple JSP Portlet in Workshop and created a "Message" Preference for this Portlet with a default value of "Hello World". I have created an instance of this Portlet in a Portal and run it on the server, and in my JSP it displays the default "Hello World" message.
    However how do I set another value for this Portlet Preference in my Portal within Workshop? So for example how can I overide the "Hello World" value with something else. I can see how do this through the Administration Console on my Staging site, but not sure how to do the same on the development side within Workshop.
    Not sure I really understand the difference between setting up the .portal file in Workshop and the Staging Administration Application.

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

  • Setting portlet properties associated with portlet

    I want to set object properties of a portlet. i am using the following code
    portletResponse.setSettingValue(SettingType.Portlet,"Categories","My CVategories")
    the changed value does not get reflected in the portlet object properties.
    please help me out.
    Regards,
    Prashant

    Prashant,
    I believe there is a distinction between object properties and portal preferences. IPortletResponse.setSettingValue sets a preference, not an object property. In other words, if you set a preference on the portlet, then go into Administration and look at the portlet object, you will not see the preference that you set.
    I hope this clears things up a bit for you, though I understand it is not a solution to what you are trying to accomplish.
    Regards,
    Andrew Bays
    bdg | [email protected] | http://www.thebdgway.com
    Edited by andrew.bays at 03/28/2007 6:49 AM

  • Discussion Forum Portlet - Different Page Groups

    I want to deploy the Discussion Forum Portlet on two different page groups which contain their own products and threads. Is this possible?

    The DBA upgraded the portlet and now it looks like we have a db connection problem. Getting error
    Unable to perform the operation: JBO-30003: The application pool (config.AppModuleLocal) failed to checkout an application module due to the following exception:
    The DBA is now working on this.

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Hiding Portlets in Different page

    Hi All,
    This is my requirement..
    I have portal which has two pages Page1 and Page2..And each page has a portlet in it
    Initially when the portal gets loaded, Page 2 needs to be hidden which i have done it by setting the property hidden=true for the page2
    Page1 has a portlet A which has a button.. When i click on that button, the portletB in the page2 should be visible..
    Usually hiding portlets is easier when it happens in the same page but how do we implement the above scenario across the pages
    Any help is appreciated
    Regards

    Hello,
    Setting portlet visibility is possible (regardless of what page the portlet is on) from inside the portlet's event handling method by getting the PortletBackingContext and calling the setVisible() method.
    I'm guessing that what you want is to have the page that the portlet is on get automatically displayed when the button on your first portlet is clicked. To cause a different page to be displayed, the easiest way is to send an event, and have a portlet on the page you want to change to listen for that event and "activate" the page. For example, in your .portlet file on the page you want to change to:
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:html="http://www.w3.org/1999/xhtml-netuix-modified/1.0.0" xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0" xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
        <netuix:portlet title="Sample Page Activating Portlet" definitionLabel="eventsLinkDef1">
            <netuix:handleCustomEvent event="SampleCustomEvent">
                <netuix:activatePage />
            </netuix:handleCustomEvent>
            <netuix:titlebar>
                <netuix:minimize/>
                <netuix:maximize/>
            </netuix:titlebar>
            <netuix:content>
                <netuix:jspContent contentUri="whatever"/>
            </netuix:content>
        </netuix:portlet>
    </portal:root>This means that when the portlet receives "SampleCustomEvent", the page that this portlet is on will automatically be displayed (and the portlet will be displayed as well as long as it hasn't been set to be invisible).
    Kevin

  • Setting different pages widths in different sections - Pages 5.2

    In Pages 5.2, how does one set different page widths (margins) in different sections?

    You can't. Margins apply to the entire document.
    What you can do is set the margins to their max width and then use left and right indents for the sections you want narrower.
    Peter

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

  • Firefox should allow users to maintain their zoom setting when switching to a different page, instead of going back to default every time.

    Page text appears very small on laptop while utilizing full resolution on a dell XPS laptop. Zoomed-in a notch or two it looks good. Readable without squinting. But browse to a different page, and its tiny all over again. Firefox, being the best browser on the web, should think about allowing users to maintain their zoom value when going to a different page, instead of going back to default. Just an idea... I know there's alot of laptops out there and if it's hard for me to read with good eyes, I'm sure it's hard for others.

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Setting object properties associated with portlet.

    I want to set object properties of a portlet. i am using the following code
    portletResponse.setSettingValue(SettingType.Portlet,"Categories","My CVategories")
    the changed value does not get reflected in the portlet object properties.
    please help me out.
    Regards,
    Prashant

    Hi Prashant,
    The code you are using will set Portlet Preferences not Portlet Object Properties.
    Thanks,
    Bharat

  • How to set partial trigger of the component which is in different Page Fragements

    I want to set the partial trigger of a ADF control which is in different page fragment.
    Would you please help me regarding this.

    Hi,
    so fragments on a page are within regions and your requirement is to refresh a component in region A in response to an action on a component in region B. If this is correct, then the choice is
    1. use contextual events
    2. use a managed bean that is injected to region B to notify the parent page (manged bean in view scope) about a component change. Now this parent page can refresh the region B container performing e.g. a PPR or a full refresh
    Frank

  • Design for different set of properties

    I have to store two sets of properties related to my transaction table
    received amount is apportioned to
    1) Principle, fee, late fee
    received amount is in the form of
    2) Cash,check, money order
    suppose when I receive a sum of 100 from any customer then this amount is apportioned as 1) Principle- 50, Fee-25, late fee-25
    2) Cash -50, Check 50
    Is there any best approach to show this in relational data base model.
    Please assist.
    Thanks,
    Hesh.

    Hi,
    I guess we can have one table which stores, payment mode ( check / cash / money order)
    another table for payment details ( Principle, fee, late ,fee) apart from the regular transaction table.
    You would be ended up with multiple trasaction records, but I guess transaction tables are meant to be like that.
    Regards,
    Cool

  • How Do I Create A Link To  A Different Page?

    I'm using the v10.1.2 Portal.
    I created 6 Oracle Portlets implemented using JSP. I then created 2 pages within the same page group.
    On page 1 I put Portlet_1a, Portlet_1b and Portlet_1c. On page 2 I put Portlet_2a, Portlet_2b and Portlet_2c.
    In Portlet_1a I want to create a link that, when clicked, will bring the user to Page 2.
    Can someone explain how I can go about doing this? What classes/api should I use? How do I specify a different page within the Page Group?
    Thanks,

    Hi,
    Its can be done, Im also using this.
    There are 2 ways how I do it
    1) I have a .properties file on the app server where I've put an attribute eg page2URL= http:\\......
    In Portlet_1a I read this attribute and use it for navigation. Every portlet instance will read the same attribute value.
    2) You can have a Personalization Object and put the page2URL attribute in the portlet defaults. This will store a seperate attribute value for each portlet instance
    PL/SQL portlets do it differently again, each page has a (unique) name, you can look up the name inside the portal database and build the url from there. I never done this trick though.
    There is a big difference in how the links work on the new portal version and the older one. Friendly links vs identified links.
    Classes you can use to help build an url
        try {
          //url = UrlUtils.constructHTMLLink(pr, UrlUtils.PAGE_LINK, "dummy", "", new NameValue[] {}, false, false);
          //url = UrlUtils.constructLink(pr, UrlUtils.PAGE_LINK, new NameValue[] {new NameValue("eventid", ""+1)}, false, false);
          url = pr.getRenderContext().getPageURL();
          pageLink = url.replaceFirst("<[aA] href=['\"]?(.*?[^'\"])['\"]?>(.*?)</[aA]>", "$1");
          pageLinkEnc = URLEncoder.encode(pageLink, "UTF-8");
        } catch(Exception e) { e.printStackTrace(); }Orcale API already creates a <A....link for me, I didnt want that, so I filtered the actual link from it
    Hope this helps a bit

  • How to control portlet order in a page ?

    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

    In general, it is a better to not depend on the order of rendering of
    portlets in a given page. For example, a portal admin a create a new
    desktop and add those portlets in a different order.
    An alternative is to set those attributes in a pageflow action (not the
    begin action). Would this work for your use case?
    Subbu
    xmlking kumar wrote:
    I have a portal page with three column flow layout. Each column contains unique portlet. I want to execute middle column portlet first, left and then right.
    i am setting some session value in middle portlet, i want to use that value in left & right portlets..
    thanks in advance

Maybe you are looking for

  • Phone software improvements I would like to see

    Nokia 6131 software version: V03.70 1. clock in main display not visible clearly. need a bolder font. even the analogue clock not easy to see. (motorola clock more clearly visible) 2. when reading sms messages, would be nice to have the date and time

  • Xml reading specific node and putting them in hashtable

    Hi Friends I have to create program to print xml filenames and the id (which is a tag) inside the xml file. the filenames i have to print are the names of xml files themselves and then they have id taginside the file and there can be more then one id

  • Will I lose my music if iTunes says its corrupt to uninstall then reinstall

    Will I lose my music if my iTunes is corrupt and needs to be uninstall and then reinstalled

  • Any ALFA AWUS036H user here? Conectivity issues

    Hi all and happy new year! I'm a "almost" proud owner of this little and powerful piece of hardware but I'm probably having some malfunction with this device. I need someone who also has one of this wireless usb adapters to answear this questions, pl

  • Export/Import Smartform

    Hi Experts,    I want to Export/Import  one Smartform in SAP 4.6C. Can anybody suggest me on this?   This option is available in ECC6.0 under Utilities-->Upload/Download..But I have to download the form from SAP 4.6C. I couldn't find any option there