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

Similar Messages

  • 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

  • Ways to configure VISA properties associated with the EOS character in LabVIEW

    I am having a great deal of trouble reading consistently from an instrument (HP5328A Universal Counter) and am investigating the EOS character. In ibic, there are 6 properties of interest accessed through the ibconfig command. The following are the properties and their default settings:
    Board level
    - IbcEOSchar EOS character is 0 (zero)
    - IbcEOSrd EOS is ignored during read operations
    - IbcEOSwrt EOI not asserted when EOS sent
    Device level
    - IbcEOSchar EOS character is 0x0A (set in ibdev)
    - IbcEOSrd EOS ignored during read operations
    - IbcEOSwrt EOS not asserted when EOS sent
    I would like to be able to programmatically set these at the beginning of my LabVIEW
    program. The only relevant VISA properties in the INSTR or GPIB BoardInterface classes I can find are:
    - Send End Enable
    - Suppress End Enable
    - Termination Character
    - Termination Character Enable
    The defaults in my LabVIEW program for both VISA classes mentioned are: Send End Enable is true; Suppress End Enable is false; Termination Character is \10 (Line Feed); and Termination Character Enable is false.
    The only property I change is setting the Termination Character Enable to true for both classes. Is there anything else I can do with properties associated with the EOS char? Is there a property like the IbcEOSwrt that may have a part in generating a service request?
    Just to confirm, the last two bytes of the instrument's ouput are \CR and \LF. I am using \LF as the EOS. Is this correct or should I be incorporating the \CR in the EOS somehow?
    ANY input is appreciated,
    Chris

    Chris:
    VISA "Termination Character" = NI-488 "IbcEOSchar"
    VISA "Termination Character Enable" = NI-488 "IbcEOSrd"
    VISA "Instr" or "GPIB Instr" = NI-488 "Device level"
    VISA "GPIB BoardInterface" = NI-488 "Board level"
    VISA cannot automatically add the termchar to the end of the written data (like IbcEOSwrt).
    Unless you specifically need to do board-level communication, which is considered advanced, I suggest ignoring that, and sticking to the device-level calls.
    If the instrument's ASCII data responses always end in \LF, then yes, just using \LF as the termchar is the correct thing. In fact, with most 488.2 devices you don't need to worry about the termchar, because the final byte of a response also contains EOI. EOI causes the driver to s
    top reading from the instrument because it knows that is the end of the response.
    You say you're having trouble, but you don't say what the symptom is. Is the read timing out? You might also want to use NI Spy to get a snapshot of what is going wrong.
    I hope this helps some.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • How to set email id associated with our profile

    Hi,
    I've recently started working for a client and initially when the client id got created for me, they did not create client email id for me. And hence when my name is selected in the people/group column, for send a workflow email, it was sent to the person
    from the client company who created my profile.
    I recently raised a ticket to get my email id and i got one now. But still when an email is sent to me, it goes to that person. 
    How to integrate the email id for my sharepoint profile name. ?
    Many thanks for your help !
    Regards

    Hi,
    Based on you description, my understanding is that you want to update your emailID in SharePoint.
    If your environment is in Office 365 you need to update your email id in your SharePoint user profile
    If your environment is on-premises update your AD then run UserProfile synchronization in SharePoint from central admin.
    Thanks, Shakir | Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Can an email address be a member of an LDAP group even if it isn't associated with an object in the Directory Server?

    Can an email address be a member of an LDAP group even if it isn't
    associated with an object in the Directory Server?
    <P>
    General members of a group are the members defined in the
    Directory Server. They are full-fledged members of the group who
    may have a set of permissions associated with their membership,
    a title, or other attributes. Mail-specific users are users who
    are not full-fledged members of the group, but who receive mail
    sent to the group. Mail-specific users need not be identified as
    a user in the Directory Server--an email address is sufficient.
    An example of this is a group of salespeople, all of whom are in
    the group "North American Sales Team." They have access to a
    sales-tracking database, on-line quota information, and
    competitive information. The mail-specific users of this group
    are the admins who support the members of the sales team, who need
    to get the mail that goes out to the group, but don't need access
    to the applications and information that the salespeople do.

    Hey EllyK,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    I would suggest performing this workaround and then try to login to BlackBerry Link:
    Open BlackBerry World on the BlackBerry smartphone and sign in using the BlackBerry ID. 
    Connect the BlackBerry 10 smartphone to the computer. 
    Open BlackBerry Link
    Sign in using the BlackBerry ID. 
    Let me know if the issue still persists.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • 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

  • 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

  • Exposing User properties in remote portlet?

    I am somewhat familiar in firing methods and such with the EDK's.  But exposing some of the user meta data (i.e. Email, Title, etc) is proving to be more difficult.  Any help in the right direction?
    vr, Rich

    Judging by the fact that you want Email, Title etc, I'd say you want User Info settings, not user properties (the former are user settings while the latter are objects themselves associated with the user).
    In VB:
    DimptContextAsPlumtree.Remote.Portlet.IPortletContextDimptRequestAsPlumtree.Remote.Portlet.IPortletRequestptContext= Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(Request, Response)ptRequest= ptContext.GetRequest()DimvalueAsStringvalue= ptRequest.GetSettingValue(Plumtree.Remote.Portlet.SettingType.UserInfo, "Title")
    Make sure that user info settings you are interested in are selected in the User Information section for your web service and note their mapped name in the User Profile Manager.
    Ruslan.

  • Problem with Portlet Backing Context

    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

    Vijay -
    You might want to post this to the Portal newsgroup.
    Regards,
    Kunal
    "vijay patel" <[email protected]> wrote:
    >
    Hi,
    I am having problem with Portlet Backing context.
    I have on portlet and one JPF associated with this portlet.
    Now in JPF action method i have Portlet Backing context object, using
    this object
    i tried to get the previous portlet state using portletCtx.getPreviousWindowState().
    But It always gives me null.
    can anyone help me out ? its very urgent.
    or you can suggest me anyother option to do this....
    Thanks,
    Vijay Patel

  • Help needed with portlet webflow

    How can I get a portlet to invoke the JSP that it was associated with in EBCC when
    the portal page is invoked from the navigation tab (regardless of what JSP was
    invoked last due to a portlet webflow) ?
    This can be best explained by describing the scenario:
    I have 2 portal pages P1 & P2. Each portal page contains a portlet. The portlet
    on portal page P2 is associated with a page, say J1.jsp & a portlet webflow (generated
    by the portlet wizard). The portlet webflow contains a flow between J1.jsp & J2.jsp
    for a certain event.
    - When the tab is clicked to show portal page P2, the portlet displays content
    generated by J1.jsp as expected. This content contains a link to navigate to J2.jsp
    - When a link is clicked to flow to J2.jsp (<portlet:createWebflowURL event="e1"/>),
    content generated by J2.jsp is displayed by the portlet on page P2 as expected.
    - I click on the main navigation tab to go to portal page P1
    At this point if I click the main navigation tab to go to P2, the portlet still
    displays content generated by J2.jsp instead of re-invoking J1.jsp. Is there a
    way to influence this behavior to always invoke the JSP that was associated with
    the portlet in EBCC when the portal page is displayed by clicking on the navigation
    tab ?
    Any help is greatly appreciated. Thanks !

    Jalpesh,
    That worked. Thank you !
    Shah
    Jalpesh Patadia <[email protected]> wrote:
    Hello Sidi,
    What you can do is that in the webflow of your portlet there will be
    an
    event called "bea.portal.framework.internal.refresh"
    This event is pointing to "portal_lastContentUrl" which is why you are
    seeing the behaviour of displaying J2.jsp when you go back to page P2.
    What you can do is point this event to J1.jsp, that way whenever the
    page is refreshed (which is what happens when you click on your tab)
    you
    will be taken to J2.jsp.
    However, the side effect is that if your portlet displays J2.jsp and
    you
    just did a browser refresh (F5 in IE) it will still revert back to
    J1.jsp. If that is ok with you then you do not have to do anything
    special, if not you will probably have to write an InputProcessor after
    the event which will redirect based on what was done by the user.
    Thanks,
    Jalpesh.
    Shah Sidi wrote:
    How can I get a portlet to invoke the JSP that it was associated within EBCC when
    the portal page is invoked from the navigation tab (regardless of whatJSP was
    invoked last due to a portlet webflow) ?
    This can be best explained by describing the scenario:
    I have 2 portal pages P1 & P2. Each portal page contains a portlet.The portlet
    on portal page P2 is associated with a page, say J1.jsp & a portletwebflow (generated
    by the portlet wizard). The portlet webflow contains a flow betweenJ1.jsp & J2.jsp
    for a certain event.
    - When the tab is clicked to show portal page P2, the portlet displayscontent
    generated by J1.jsp as expected. This content contains a link to navigateto J2.jsp
    - When a link is clicked to flow to J2.jsp (<portlet:createWebflowURLevent="e1"/>),
    content generated by J2.jsp is displayed by the portlet on page P2as expected.
    - I click on the main navigation tab to go to portal page P1
    At this point if I click the main navigation tab to go to P2, the portletstill
    displays content generated by J2.jsp instead of re-invoking J1.jsp.Is there a
    way to influence this behavior to always invoke the JSP that was associatedwith
    the portlet in EBCC when the portal page is displayed by clicking onthe navigation
    tab ?
    Any help is greatly appreciated. Thanks !

  • How do I set up family sharing if all my family members emails are already associated with my iTunes account?

    I want to set up family sharing but it won't let me because all the emails are already associated with the one iTunes account we have.  I am afraid to delete because my children use that email address for text messaging.  How do I set up family sharing if all my family members emails are already associated with my iTunes account?

    Hey Wendaroski,
    I am not quite sure what you mean by "my family members emails are already associated with my iTunes account" but what you need for each family member is an Apple ID. Yours would be the one for your iTunes account.
    If the other members of the family already have an Apple ID you can invite them to join the family group. If not they will need to create one, using their email address. This article shows how -
    Set up an Apple ID in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • How can I set up my Mac Pro so that my wife and I can use our separate iTunes accounts? I keep getting an error message that the computer is already associated with an Apple ID even though the two accounts are associated with separate log ins!

    I'm getting very confused with setting up multiple user accounts on my Mac Pro for my wife and I. We each have a separate iTunes account, and we want to keep our music libraries seaprate. I've set up two user accounts on the Mac Pro and I have my iTunes authorised and logged into my user account on my user account. Under my wifes user account (i.e. a separate log in on the computer) I'm trying to set up her iTunes account, but I can't download or play anything from the cloud - it just says "This computer is already associated with another iTunes Account" and tells me that if I 'transfer' then I won't be able to use the other one for 90 days! This is really annoying as my wife can't access music she has purchased on her iTunes account on the home machine. We're not trying to do anything dodgy, just access our music on our own accounts on separate log ins on the same machine. Does anyone have any suggestions? Thanks!

    Hi Allan, thanks for that. I've already set up a log in for my wife and that is all working fine. The problem is that when she logs in and opens iTunes and trys to associate her library with her iTunes account she gets the error message "This computer is already associated with another iTunes account". Whilst this is true, the computer is associated with my iTunes account under my separate log in, which should have nothing to do with hers. If she transfers the association to her account it will lock me out of my content on my log in for 90 days - I'm trying to work out how to associate each of the log in accounts with a separate iTunes account so we can access our music independently of one another without locking each other out. Hope that makes sense!

  • How do i set up another iTunes account on same computer when the wives email address is associated with my account , i can't set her an account up because of this

    wife has bought a new iPhone and when i tried to set up an iTunes account up for her it won't let me , has a error message saying her email address is associated with my account, also all my contact numbers have merged in with hers on my phone not hers

    www.apple.com/support/appleid/manage/

  • Trying to set up an apple id for friend.  it says email is already in use but when i search for apple id it says no id associated with this email address.

    trying to set up an apple id for a friend.  it says email is already in use.  but when i search for the id using this email it says no apple id associated with this email address.

    Hello, Wyseup. 
    Thank you for visiting Apple Support Communities.
    Most likely this email address has been attempted to be setup as an Apple ID at some point.  You can reset your Apple ID password via the steps in the first article below.  If you do not have access to the email account, need assistance or are not receiving the password reset link, see the second article.
    Apple ID: If you forget your password
    http://support.apple.com/kb/ht5787
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • HT1689 I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change

    I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change?

    I am trying to stop using my I-pod under my husband's I-Tune account.  It was set up under his account and the only way I can use it under my account is to erase all of the songs my husband loaded on for me.  I had heard there is a duration that I-Pods are locked into to one account only, and I am trying to discover how I can use my account without having to erase everything on the I-Pod.  I know it sounds confusing but that's the way I-tunes have set it up.  thanks for asking.

Maybe you are looking for

  • Calling a VI to run and closing the caller VI

    Good day to all what I wanted to ask is: lets say I'm running a VI who is calling another VI. now I want to close the first one and leave the second one running. can it be done? and if so how? thanks shai

  • Background process not writing to file

    Hi, i am encountering a problem when a process is started under root in background.The application is not writing the Information to the file. But when i start the same application from a telnet session it works fine Any solution to the problem regds

  • 9ias2 OEM Error

    When trying to examine my httpd.conf through OEM in the Advanced Server Properties option on the HTTP page I get the following error Internal Error See base exception for details. Root Cause: null I have tracked this down to a Perl Directive in the c

  • Freezing Mac OS again and again, even when copying files

    Ich arbeite viel mit 3D und meinen Fotos, Aperture und Poser 2014 Pro. Erst dachte ich das es an den Anwendungen liegt, jedoch kam ein Update und eine kurze Verbesserung. Nur noch zwei mal am Tag neu booten über den Ein/Aus Schalter - versteht sich.

  • Edit the auto-correction suggestion words

    Hello, Is there a way to edit the words that are suggested by the iphone ? Thanks