How to display the Full Name in Masthead of the Portal
Where exactly in the HeaderiView.jsp I need to edit to be able to display the full name in the Masthead of the portal.
e.g.
Welcome Paul Jones
Hi Paul,
Following customized code displays Full Names on my portal:
private String GetWelcomeMsg(IPortalComponentRequest request, String welcomeClause)
IUserContext userContext = request.getUser();
if (userContext != null)
String firstName = userContext.getFirstName();
String lastName = userContext.getLastName();
String displayName = userContext.getDisplayName();
String salutation = userContext.getSalutation();
if (displayName != null)
if(salutation != null)
return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, salutation, " "}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, " ", " "}).toString();
else if ((firstName != null) && (lastName != null))
if(salutation != null)
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {userContext.getUniqueName()," ", " "}).toString();
return "";
Regards,
Sergei
Similar Messages
-
For my iCloud account, how do I change the "full name" that appears as the sender?
On my iCloud IMAP email account, the account lists my "full name" as the sender. How do I change this to a nickname? Curently, that "full name" rectangle is grayed out so I don't know how to change what's there. Thanks for your help!
You need to change this on the iCloud website, http://icloud.com - go to the Mail page, click the cogwheel icon at top right and choose 'Preferences', then click 'Accounts' in the toolbar of the pane which opens.
Select the main account and you can change the Full Name. If you have aliases you will have to change it separately for each of them. -
How to get the full name of the Account Owner?
Hi,
I would like to ask if there's a way to display the full name of the Account Owner in a report where the subject area is Opportunity? Currently, the Username (under Owned By User) which displays the full name is equal to the Opportunity Owner.
Thanks,
TeenaHi Cameron,
Thanks again.
Currently, I have a report under Opportunity history where the following fields are being shown:
- Account's Country
- Opportunity Owner (Owned By User - gives me the full name)
- Account Name
- Opportunity Name
- Metrics field (Revenue, Volume. etc.)
- Close Date
- some custom fields
The users want to see the Account Owner so I added this field but it's showing the owner's alias. My question is, in using the "Combine with Similar Analysis", can I display all the values retrieved by the Opportunity report and get the value of 'Owned By User' in the Account report?
I have tried combining the two reports but the values are derived from the driving report which is Opportunity. How can I get the value/format of the field in the Account report?
Teena -
How to print an email with the full name of the attachment ?
In Mail, when using "View as an Icon", the name of the attachment - if too long - does not appear in full. Any tip on how to have the full name appears (for archiving purpose) ? Thank you
Srinivas, Thanks for your quick reply.
This is smartform, and sending the output as pdf, except the the first page on which I have the text to be printed on the email body. In this email body text I have to display an email.
when user clicks on the email should open an outlook with the email id in the TO. Hope this helps.
Thank you,
Surya -
In Mac how to get the Full name of a file Programmatically?
Hi Friends,
I am doing one Mac application for displaying the contents of a file. I can able to get some information about the file by using this code below...
NSDictionary *dict=[fileManager attributesOfItemAtPath:myPath error:nil];
Now I want to get the some other informations also like Full Name, copyRight, version... So Please suggest me how to get the full name of a file Programmaticallly?Your question doesn't make sense.
First off, if you are going to get the attributes of a file, you need its full name before you can do anything. So that's part one taken care of.
This function returns a dictionary full of typical file information (type, size, mod dates, etc.) as well as some HFS data (creator code, type code) which, I strongly suspect, are not "pulled out of the file" but rather generated on the spot. (See NSFileManager for the full list of attribute keys.)
The other items you hoped of retrieving are not part of the regular file system. Sure, a Truetype font has a copyright string and a version, but what about an HTML file? A PNG? A text file you just created?
There simply are no standard functions to retrieve copyright and version. -
How to get the full path instead of just the file name, in �FileChooser� ?
In the FileChooserDemo example :
In the statement : log.append("Saving: " + file.getName() + "." + newline);
�file.getName()� returns the �file name�.
My question is : How to get the full path instead of just the file name,
e.g. C:/xdirectory/ydirectory/abc.gif instead of just abc.gif
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.*;
public class FileChooserDemo extends JFrame {
static private final String newline = "\n";
public FileChooserDemo() {
super("FileChooserDemo");
//Create the log first, because the action listeners
//need to refer to it.
final JTextArea log = new JTextArea(5,20);
log.setMargin(new Insets(5,5,5,5));
log.setEditable(false);
JScrollPane logScrollPane = new JScrollPane(log);
//Create a file chooser
final JFileChooser fc = new JFileChooser();
//Create the open button
ImageIcon openIcon = new ImageIcon("images/open.gif");
JButton openButton = new JButton("Open a File...", openIcon);
openButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int returnVal = fc.showOpenDialog(FileChooserDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
//this is where a real application would open the file.
log.append("Opening: " + file.getName() + "." + newline);
} else {
log.append("Open command cancelled by user." + newline);
//Create the save button
ImageIcon saveIcon = new ImageIcon("images/save.gif");
JButton saveButton = new JButton("Save a File...", saveIcon);
saveButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int returnVal = fc.showSaveDialog(FileChooserDemo.this);
if (returnVal == JFileChooser.APPROVE_OPTION) {
File file = fc.getSelectedFile();
//this is where a real application would save the file.
log.append("Saving: " + file.getName() + "." + newline);
} else {
log.append("Save command cancelled by user." + newline);
//For layout purposes, put the buttons in a separate panel
JPanel buttonPanel = new JPanel();
buttonPanel.add(openButton);
buttonPanel.add(saveButton);
//Explicitly set the focus sequence.
openButton.setNextFocusableComponent(saveButton);
saveButton.setNextFocusableComponent(openButton);
//Add the buttons and the log to the frame
Container contentPane = getContentPane();
contentPane.add(buttonPanel, BorderLayout.NORTH);
contentPane.add(logScrollPane, BorderLayout.CENTER);
public static void main(String[] args) {
JFrame frame = new FileChooserDemo();
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.pack();
frame.setVisible(true);simply use file.getPath()
That should do it!Thank you !
It takes care of the problem !! -
How to check what is the full name of the installer is used?
Hi,
how to check what is the full name of the installer is used?
Thanks,Very nice, but assuming you did deliberately fire the installer, don't you remember the command? Apart from that your question has (as usual) no version and no platform and no context. If you are still in the installer and using any variant of Unix you can very easily run 'ps' to see the exact command.
You would have needed to provide platform and version information when submitting the SR. Can you explain why you have this forum guess at it?
Sybrand Bakker
Senior Oracle DBA -
How to get the Full Name from NT realm
I need to get the full name of the logged user not just the username. I get
the username defined in NT by request.getRemoteUser(). I need to get the
full name defined in NT server.
Thanks
madhuHi Madhu,
There are no apis to do this with WebLogic.
What I recommend is to do some JNI with Java
Create some custom class which retrieves the nt username and then makes calls to
microsoft libraries to return the full name.
I have no idea what these calls to microsoft libraries will actually be --
you'll probably have to do some research to see how to retrieve full usernames
from NT -- what libraries you need to use, etc.
Good luck.
Joe Jerry
m holur wrote:
I need to get the full name of the logged user not just the username. I get
the username defined in NT by request.getRemoteUser(). I need to get the
full name defined in NT server.
Thanks
madhu -
How do I change the 'Full Name' on my iCloud Mail (and on my Apple ID as I think this is where it is getting my Full Name? Thanks
To change it on and iOS device, go to Settings>Mail,Contacts,Calendars...tap your iCloud email account, tap you iCloud account at the top, tap Mail at the bottom, then enter the name you want to use in the Name field at the top.
To change the From name on your Mac Mail, go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the top right and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done. Then quit Mail on your Mac and re-open it. Your new From name should now appear in the drop-down list when you compose a new email. -
How can I change the "Full Name" for my iCloud account?
Hello,
At some point in the past, iCloud started identifying me as someone else when I send emails. This incorrect name appears to be the "Full Name" setting of the email account, but when modifying the properties for the email account in Mail the field for modifying the "Full Name" setting is disabled, not allowing me to make any changes.
Where is the correct place to change the "Full Name" setting for my iCloud account?
Thanks,
- Josh
<Email Edited By Host>I believe it can be changed by going to https://appleid.apple.com/, click Manage your Apple ID, sign in with your iCloud ID, select "Name, ID and Email Addresses", then click "Edit" next to the name listed under "Your Name" and change it as desired.
Also, if you are trying to change the sender name for your iCloud email account, you'll want to go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done. Then quit Mail (Command-Q) on your Mac and re-open it. Your new From name should now appear in the drop-down list when you compose a new email.
(The image was removed in your post above because it showed your iCloud email address.) -
How to find out query name using Elements of the query builder.
Hi SDNers,
how to find out query name using Elements of the query .
thanks,
satyaaHi,
For having a look at the relation between BEx tables,check the link below:
http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
-Vikram -
ALV: how to display only subtotals and total rows in the output
ALV: how to display only subtotals and total rows in the output
i am getting output
i am getting subtotals for respective fields
but i want to display only subtotals and totals rows in the output
i have tried the
totals_only parameter in slis_layout_alv
but it is not working.hi,
For TOTAL
For the amount field / quantity field in the field catalog give DO_SUM = 'X' for WHOLE total
For SUBTOTAL
For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
DATA: lt_sort type SLIS_T_SORTINFO_ALV,
ls_sort type slis_sortinfo_alv.
CLEAR ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'Give the field name that you do the sum'.
ls_sort-up = 'X'.
ls_sort-subtot = 'X'.
APPEND ls_sort TO lt_sort.
fieldcatalog-do_dum = 'X'.
for subtotals
WA_SORT-FIELDNAME = 'ERSDA'.
WA_SORT-SPOS = '2'.
WA_SORT-UP = 'X'.
WA_SORT-SUBTOTAL = 'X'.
APPEND WA_SORT TO IT_SORT.
Refer
http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
regards,
Prabhu
reward if it is helpful -
How to display Bin Location Name in GRPO PLD ?
Hi Experts,
Do you have any idea about how to display Bin location name in GRPO PLD (SAP B1 9).
Awaiting for your valuable suggestions.
Regards
KMJNagaraj,
The requirement is when the user is doing GRPO, user will select the Bin location to receive the items. When the user given this GRPO details to Store keeper, user has to put the same items in particular bin location.
Regards
KMJ -
IChat: Display as Full Names
Hello,
I'm using the new Server 3.0 on a Mac Pro running Mavericks. We have the Messages service enabled and our users are authenticating with a local account on the Server to sign into messages. This helps us manage our IM accounts.
My question is on the client side. There is an option under View that says Show as Full Names. However, it seems like that option just shows the short name. We would like it to show the full name (firstname lastname).
Does anyone know if this is possible with user interaction? Can this be done on the server side?
ThanksHI,
I was trying to gain an understanding of what can be seen at your end, not suggesting it was an everyday way of working.
Lets try this another way.
An AIM Name can have a Display Name.
This is set at AIM and is sent as a replacement for the Screen Name.
Here is a pic of my main AIM name logged into the AIM Settings site
(it's part of the window)
It states the "Web Settings for iChat Guru (then my Screen Name)
If people don't have my real name in their Address Book, this is what they will see.
iChat and Messages display Buddy's real names when their Address Card has the relevant Jabber ID or AIM Screen Name or Yahoo ID.
The Contacts App can be synced via iTunes or iCloud to other computers or iOS devices.
It can also use Google or Yahoo services as "Accounts" in the App itself, as well as the default "On My Mac" option.
Info can also be called from Directory Services connections to Servers where "global" address books can be held.
The Address Cards can also have Nicknames on them. Of the ones I have set up these have been done through the Messages > Buddy List > Get Info > Info Card method.
As your Contacts app could be getting external info, rather than "On My Mac" info it is not clear from what you have posted so far if the Address Cards show Nicknames or only First Names (which it will default to if no Nickname) because that is what is being seen by Messages - or if the setting on the View Menu is not working.
My understanding is that the Server needs to have a databases set up of who is allowed to login.
From there I understand this list is then used by the iChat server as it used to be called.
The Client end then needs a Jabber account set up using that persons particular data.
So the Contacts app may be getting Address Book data from the server.
This may only be First names or "Nicknames".
It could be the Messages app is not actually changing the setting properly when you change it from Show Nicknames.
I would try setting up a separate Mac User on this computer and see if you get different results.
8:35 pm Friday; December 13, 2013
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
Can you change the "Full Name" of a BO account
We have a user who has changed their surname. We can rename the Account Name but the Full Name is greyed out and I cna't see anyway I can change this.
How have you handled such name changes (it may even apply if you have setup an account name and made a spelling error).
With thanks
GillGill,
Looks like your CMS is integrated with some sort of 3rd party security like LDAP, AD &/or SAP. If you want the option to change/update users FULL name then you must un-check that option.
See example for SAP Integration where the FULL Name, Email setting are NOT being imported over from SAP.
Regards,
Ajay
Maybe you are looking for
-
How to play one specific album at a time from the Artist tab.
In regards to 5th gen iPod Touches: I'm wondering if I can play just one album at a time (not all the songs by an artist) via the Artist tab. The only way I have found to do this is Artist>Click on a song in the album I want to listen to (At this poi
-
Do Blueray burners work with a PPC G5 (dual 1.8GHz)
Do Blueray burners work with a PPC G5 (dual 1.8GHz)?
-
Field in BAPI_NETWORK_COMP_ADD
Hi Gurus, I'm using BAPI_NETWORK_COMP_ADD to add components and create a purchase requisition. From standard tcode CN22, when I'm adding the components, there is a field called the Procurement Indicator (RESBD-MFLIC). I am unable to find or map to th
-
I have downloaded an arabic font [lateef] from the web. Even though it shows up on my fonts list on the program when I apply it, it does not change to that font. Only the generic arabic font remains. What am I doing wrong? Thanks
-
Web-Intelligence Reports against Access Database
We are unable to run Web-Intelligence reports against Microsoft Access Database which resides on a network drive Able to create Unvierse, and Universe Connection to the Access Database through ODBC, but unable to run Web-I reports, when tried we get