function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robert Davis 16Robert Davis 16 

Visualforce Page Link to Chatter Profile when Click on Profile Image

Need to create a link that the user clicks to go to another user's Chatter Profile so they can send a message in Salesforce Classic.

The following is what I have so far but can not figure out how to get the link to the Chatter Profile:
 
<apex:page standardController="AccountTeamMember">
    
    <apex:form>
    
        <apex:pageBlock title="Account Team Members">
            <apex:pageBlockTable value="{!AccountTeamMember}" var="ATM">
                <apex:column headerValue="Account Member Name">
                    <apex:outputField value="{!ATM.User.Name}"/>
                </apex:column>
                <apex:column headerValue="Account Member Title">
                    <apex:outputField value="{!AccountTeamMember.User.Title}" />
                </apex:column>
                <apex:column headerValue="Company Name">
                    <apex:outputField value="{!AccountTeamMember.User.CompanyName}" />
                </apex:column>
                <apex:column headerValue="Account Member Country">
                    <apex:outputField value="{!AccountTeamMember.User.Country}" />
                </apex:column>
                <apex:column headerValue="Account Member Role">
                    <apex:outputField value="{!AccountTeamMember.TeamMemberRole}" />
                </apex:column>
                <apex:column headerValue="Account Member Email">
                    <apex:outputField value="{!AccountTeamMember.User.Email}" />
                </apex:column>
                <apex:column>
                    <apex:image id="profileImage" url="{!AccountTeamMember.User.FullPhotoUrl}" />
                  
                </apex:column>
            </apex:pageBlockTable>
            
        </apex:pageBlock>
    </apex:form>
</apex:page>

 
Best Answer chosen by Robert Davis 16
Robert Davis 16Robert Davis 16
The following gave me what I was looking for, posting incase it might help someone else. 
<apex:page standardController="AccountTeamMember">
    
    <apex:form >
    
        <apex:pageBlock title="Account Team Members">
            <apex:pageBlockTable value="{!AccountTeamMember}" var="ATM">
                <apex:column >
                    <apex:image id="profileImage" url="{!AccountTeamMember.User.FullPhotoUrl}" />
                </apex:column>
                <apex:column headerValue="Account Member Name">
                    <apex:outputField value="{!ATM.Userid}"/>
                </apex:column>
                <apex:column headerValue="Account Member Title">
                    <apex:outputField value="{!AccountTeamMember.User.Title}" />
                </apex:column>
                <apex:column headerValue="Company Name">
                    <apex:outputField value="{!AccountTeamMember.User.CompanyName}" />
                </apex:column>
                <apex:column headerValue="Account Member Country">
                    <apex:outputField value="{!AccountTeamMember.User.Country}" />
                </apex:column>
                <apex:column headerValue="Account Member Role">
                    <apex:outputField value="{!AccountTeamMember.TeamMemberRole}" />
                </apex:column>
                <apex:column headerValue="Account Member Email">
                    <apex:outputField value="{!AccountTeamMember.User.Email}" />
                </apex:column>
            </apex:pageBlockTable>
            
        </apex:pageBlock>
    </apex:form>
</apex:page>

I simply needed to use the field Userid in the Account Team Member Object. It gave me the name when rendered with the link to the person's Chatter Profile.

Hope this helps.