You need to sign in to do that
Don't have an account?

Custom formula field Line manager
Hi Guys,
It is quite a while I do not touch Salesforce so this may be easier than I think. I have a custom object, change request box. I need a field that shows the line manager of the requestor. I thought I could do a formula field as the User object already have a Manager field, so I would just pick that up. However, the only option I see is a ManagerID. There is any way I can get the Manager name instead? When I do the formula field, should not just display an option for it and automatically pick up the line manager from the lookup(user) field I have in the object (requestor)? Thank you :)
It is quite a while I do not touch Salesforce so this may be easier than I think. I have a custom object, change request box. I need a field that shows the line manager of the requestor. I thought I could do a formula field as the User object already have a Manager field, so I would just pick that up. However, the only option I see is a ManagerID. There is any way I can get the Manager name instead? When I do the formula field, should not just display an option for it and automatically pick up the line manager from the lookup(user) field I have in the object (requestor)? Thank you :)
A formula field with the value
Should do it?
If you have a custom user field just do
That should totally work, trust me!
All Answers
You can define a hierarchial custom setting at user level to store the manager name and use that setting in the formula field to get manager's name.
Hope this helps.
A formula field with the value
Should do it?
If you have a custom user field just do
That should totally work, trust me!
Hi already have a hierarchical field called 'manager' under User.
Now I have this custom object called 'Change Request'. I want a field with who made the request (Requester, look up to user) and who is their Manager.
When I try this 'Requester__c.Manager.username' the error I have is 'field does not exist'...
It should work