0

I need a formula that return’s a user’s manager from the user’s profile page in a custom field on the opportunity split object. I’m sure this is a simple formula, but I don’t know how to write it.

4
  • What user's Manager? The Opportunity Owner? The Current User? Commented Jan 21, 2016 at 17:22
  • 1
    are you not getting this with SplitOwner.Manager.Id ?
    – Himanshu
    Commented Jan 21, 2016 at 17:25
  • the manager thats in the "manager" field on the user's profile page Commented Jan 21, 2016 at 19:11
  • I want to write a formula that looks at the team member on the opportunity split object and inserts the value in the “managers” field on that users profile page. Commented Jan 21, 2016 at 19:21

1 Answer 1

3

You can't create a formula field that results in a lookup relationship field, but you can use the following formula to concatenate the first and last name fields:

SplitOwner.Manager.FirstName & " " & SplitOwner.Manager.LastName

The easiest way to get this is to use the Advanced Formula tab and click the Insert Field button, then follow the path to the Manager:

Formula field picker shows Opportunity Split - Team Member - Manager - First Name

If you want the field to link to the Manager's profile, you can use the HYPERLINK formula function as follows:

HYPERLINK("/" &  SplitOwner.ManagerId, SplitOwner.Manager.FirstName & " " & SplitOwner.Manager.LastName)

More info on:

2
  • Do I need to close this question or select a best answer like on the Salesforce community? Commented Jan 21, 2016 at 21:11
  • 1
    Excellent, and welcome to Salesforce StackExchange! Yes, please mark that this answers your question. Also, one difference in the StackExchange community from the Salesforce community is that comments that say things like "thank you" that don't offer additional information or context are frowned on as cruft. Marking the answer as accepted is considered thanks enough. Commented Jan 21, 2016 at 21:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .