Get the e-mail in html portlet

I have a code snippit I want to paste in our header portal that sends information to another application to draw. It's an app like analytics, but it also keeps track of the websites and allows reviewers to obtain statistics on multiple web sites and applications.

To do this, you paste the code into a portlet and fill properties of a javascript object. I added the code to send the pageID in the whole, but I also want to send the e-mail address of the current user. I currently the snippit in a portlet with code-behind, so what I do is to get the email address and throw in a label, then access them on the client side. Works very well.

I would like to put this in the header portlet so it really helps to all pages of the portal, but I don't know how to get the address of electronic mail in a portlet with no code-behind. Is there a PT tag or something for this?

I use ALUI 6.0 SP1.

Thank you. I'M SO GLAD TO FIND THIS DISCUSSION. Web Center discussion drove me crazy.

I tried it on a 6.5 environment... you use other tags in the header? If this isn't the case, you must make a reference like this first.

This call has been around for a little bit longer and I found the call in section edocs for your version here:
http://eDOCS.BEA.com/AluI/devdoc/docs60/references/API_Libraries/TagDocs/transformer/UserInfo.html

Tags: Fusion Middleware

Similar Questions

  • Get the e-mail address of the user of the AD

    Hello

    I want to get the e-mail address of a user account from AD.

    My code is as follows:

    var email = User.getAttribute(mail);
    

    And I get this error: [15:45:14.050 2015-01-20] [I] ReferenceError: "mail" is not defined.

    The email is active in AD and I can also see it in the Orchestrator plugin

    2015-01-20_1540.png

    When I get all the attributes of the user of the AD I see this:

    [15:48:34.615 2015-01-20] [I] ADAttribute:CN=Jonathan***,OU=Virt,OU=Users,OU=***,DC=pocvirtual,DC=local!@@$$!mail

    Can someone help me please?

    Jonathan

    Try again with

    e-mail var = User.getAttribute ("mail");

  • How can I get the full mail message header?

    Hi guys,.

    before that I was able to show full e-mail header by activating an option in Mail preferences, but now it's gone - do you know how to get the full header of an email (for purposes of debugging of course)?

    Thank you in advance.

    See you soon...

    View > Message >

  • Is it possible to get the Apple Mail Server to forward messages to another address

    I would like to be able to redirect all mail received on my address [email protected] or [email protected] to be automatically redirected to another address (a gmail address) so that I can pick up my mail from one place and present in my reader emails in one place.

    Is this possible?

    Thanks for any info.

    Have you tried to configure the Mail application to register your Gmail account and have everything in the incoming Mail mailbox:

  • Get the e-mail with username

    Hi all!!

    Someone knows how can I get the email address if I have the user name? For example the string "srose?

    LDAP service?

    Thank you very much

    You can use the service of the user to find.

    This function returns a user object that matches your search criteria. The user object contains a bunch of property on this user and email is one of them.

    Jasmine

  • How to get the e-mail program appropriate defining the overview, incoming and outgoing email info server

    enrered bad point of mail server inbound / incoming (pop) mail server name / outbound (smtp) email server (smtp authentication required) name ++ / outgoing mail server port:

    Hello

    1. What mail client do you use?

    If you use Outlook Express, then I suggest you to see the link below.

    How Set Up Outlook Express: http://support.microsoft.com/kb/2409264

    Hope this information is useful.

  • How do you get the e-mail links to use outlook instead of the windows mail app?

    I have Outlook (part of office 365) and Windows 8 - but when I click on any 'email' link it uses windows Messaging. In older versions, it would bring the outlook dialog.  Is it possible to change this?

    Because you have Outlook, I suppose you want to do all the stuff "e-mail associated" with Outlook.  If so:

    • Go to the start screen
    • Start typing "Default programs" without the quotes
    • Select "Default programs" when it comes to the top
    • Select "Set your default programs"
    • Search for "Outlook (office computer)" in the list on the left
    • Select "Set this program as default"

    If for some reason the last step does not work, you can try to replace this step with these:

    • Select "Choose default program"
    • Place a check next to "MAILTO URL: mailto" and save it
  • Can not get the e-mail form

    Hi again, everyone.

    I tried to set up a registration form with a "mailto:" submit so that I can have the registration information sent to me. I checked several books and followed the instructions on the Web sites of three or four and still can't make it work.

    I've implemented the "mailto:" option in the form code and clicking the Submit button opens a new message with the "to:" and "object:" fields informed correctly, but shape is not fixed and is sent a blank message.

    I don't know if it's important, but I'm on Firefox for mail.

    Thank you in advance for your help!

    --
    Keith

    Hi again, Murray!

    Quote:
    Posted by: newsgroup user
    There are only two ways to process the form data-

    1. use mailto:[email protected] as the action of the form
    2 use a script method on the server side

    Method 1 is quite simple and is also the less reliable.

    I see that now. Many of the disadvantages that you mentioned were things I wasn't aware of. I'm definitely convinced!

    Quote:
    Method 2 is the preferred method, because it eliminates the problems of method
    1, but it means that you treat the server somehow (ASP script,
    CF, PHP, perl, etc.).

    You would have to decide which of these methods is best for your needs,
    But if that's the method 2, then start by asking your host that they provide for the form
    the treatment.

    I'm working on finding a site that will provide what I need. Thank you very much!

  • Why I not get the e-mail of confirmation of password or username forgotten?

    I know that I had an account before this one that I just created.

    It would be useful to know what system you are talking about. This forum, your account e-mail or something else?

  • Why do I get the text instead of HTML for a website?

    Lately, when I load this site I understand everything in the text. I thought I solved the problem, but she came back. All other sites work fine.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • How to read the e-mail configured on the device

    Can we get the e-mail address of the account that is configured on the device in bb10

    https://developer.BlackBerry.com/native/reference/Cascades/bb__platform__identity__blackberryid.html

  • Get the email address of the account of the company

    I followed the instructions in this thread.

    http://supportforums.BlackBerry.com/T5/native-development/retrieve-list-of-email-addresses/m-p/25534...

    However, I can not get the e-mail address of a business account. ActiveSync account, it works fine and I get the email address. But on behalf of the company, I get a supplier "Pin to Pin". And account email_address property contains only the PIN code.

    emailAddress = a.settingsProperty("email_address",Property::Value).toString();
    // emailAddress only contains PIN for enterprise account
    

    I tried this in the personal perimter. But it only works in the scope of work.

  • Get the email of the participant

    Hello everyone! I'm trying to get the email address of any participants I. But I have a problem... I use screenflow only and when I try to get the Email by using an automatic... I get nothing because the role of auto is Manager automatic. Can you help me please?
    Thnks!

    Hello

    in PBL, to get the e-mail of a participant, you can do the following:
    _____________
    p = participating. Find ("user_name")
    em = p.email
    _____________

    This way you can get the email address of the participant 'username '.

    Hope this helps
    concerning
    -ugo

  • Whenever I try to send mails via Gmail (even in Safe Mode), I get the error message "your action failed. Please try again ".

    Everytime I try sending mail through Gmail FF 18.1, I constantly get the error message "you action failed. Please try again ". I have to use the HTML view in Gmail that I really hate. I tried the Mode without failure of Firefox as well but not good. Please fix this for me.

    This can be caused by corrupted cookies or cookies that are not sent or otherwise blocked.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other files to present as cookie cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

  • I get the message "there is no set application to open the URL mail:sots@bbc.co.uk.

    I copied the e-mail address specified in the heading above the BBC site and then tried to paste into a new message in Mail, but without success. Since I get popup messages as shown in the title which precedes but does not know how to stop them. I tried searching the forum but without success. Can anyone help please?

    It is a tag HTML of a web page, in a Web form page well this tag will open an email client to send an e-mail message.

    You can not copy and expect it to work in an e-mail.

Maybe you are looking for

  • HP Pavilion dv7 Notebook PC - hardware upgrade

    Hello ch, the model of the laptop is WW181AAR, I want to upgrade the CPU (Core i7 Q740 @ 1.73 GHz) and video card (Ati mobility Radeon HD 5000 series) in my laptop, can you help me with a list of processors and video that supports my laptop, or any o

  • Invalid file ref

    Hi, I use a need R.F.A and iI registry cleaner to fix 'invalid file reference system 32 eventlog file' how

  • Dev alpha may not work after update to OS10.0.6.386

    Hi all. It seems that my alpha dev cannot restart after the update. It takes 2 hours to restart, but failed. How could I solve this problem?

  • Failed to update blackBerry Smartphone Applications

    When I plugged my curve to synchronize this morning, I was warned of the updates of the application.  When I try to update, I get en error message: Impossible to post your update to the Blackberry device.  Could not validate the OS image file... (loo

  • Unable to find Windows Pro 8.1 in-store

    As much as I tried to upgrade to 8.1 Windows pro, I couldn't! All my efforts in this regard has proved to be unsuccessful. What can I do? Can someone please help.