FavoriteMohit Edupuganti (SprintPark) asked in #Salesforce DeveloperJun 19, 2024, 10:09 AMThere is this field named Created By that gets automatically created when a record is created. The field displays the name of the user who created the record and at what time. In soql and js how to display only the name of user who created the record?6 answersSortSort by DateSort by Most HelpfulSort by DateLoad more comments...Gaurav Lokhande (IDRMS Technologies Pvt Ltd)Jun 19, 2024, 1:15 PMHi @Mohit Edupuganti,yes this is the correct way to define in js:const columns = [ { label: 'Created By', fieldName: 'CreatedBy.Name', type: 'text' }];Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Gaurav Lokhande (IDRMS Technologies Pvt Ltd)Jun 19, 2024, 1:15 PMHi @Mohit Edupuganti,yes this is the correct way to define in js:const columns = [ { label: 'Created By', fieldName: 'CreatedBy.Name', type: 'text' }];