You need to sign in to do that
Don't have an account?
anne fdsgafa
Is there a way to get the Owner Name (NOT OwnerId) from ActionPlanTemplate object?
Is there a way to get Owner Name from ActionPlanTemplate object? I checked the list of fields in the api but there is only OwnerId.
Thanks
Thanks
ActionPlanTemplate.OwnerId
Refer this link
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_actionplantemplate.htm?search_text=ActionPlanTemplate
use ActionPlanTemplate.OwnerId for Owner Id
Thanks Raj.
I have the query: SELECT Owner.Name, Owner.Alias, Name, toLabel(ActionPlanType), Description, CreatedDate, Id, LastModifiedDate, SystemModstamp, Owner.Id, OwnerId FROM ActionPlanTemplate WHERE CreatedDate >= 2019-02-07T05:00:00.000Z ORDER BY Owner.Alias ASC NULLS FIRST, Id ASC NULLS FIRST
And I am outputting it to a List of type ActionPlanTemplate. My output of my List is:
(ActionPlanTemplate:{OwnerId=0042K000109AA2qQBG, Name=APT Test, ActionPlanType=Industries, Description=Test 1, CreatedDate=2019-02-07 20:09:28, Id=0QT7F0000000073XAA, LastModifiedDate=2019-02-07 20:09:28, SystemModstamp=2019-02-07 20:09:28})
The "Owner.Name" is not being registered in my List. How can I grab it?